Join Slack
Powered by
Hello! How can i change IrField from val to var du...
# compiler
p
PHondogo
09/10/2022, 12:08 PM
Hello! How can i change IrField from val to var during transformation by compiler plugin? isFinal property of IrField is readonly.
m
mcpiroman
09/10/2022, 12:14 PM
There was a similar thread -
https://kotlinlang.slack.com/archives/C7L3JB43G/p1636218866069200
p
PHondogo
09/10/2022, 1:22 PM
Seems unreasonably complicated. I'm using reflection now. Wonder why not just make IrField::isVar settable.
4
Views
Open in Slack
Previous
Next