How can I read annotation default values in ir? I ...
# compiler
n
How can I read annotation default values in ir? I have
@Foo(val foo: Bool = true)
. I tried with
annotation.symbol.owner.valueParameters[0].defaultValue!!.expression as IrConst<Bool>
, but the expression is actually an IrErrorExpression saying
"Stub expression for default value of foo"
.