natario1
08/08/2022, 6:15 PM@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".