[IR] Don't evaluate expressions in inner class of an annotation
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
val a = "OK"
|
||||
|
||||
annotation class Anno {
|
||||
class Inner {
|
||||
val shouldNotBeEvaluated = a
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Anno.Inner().shouldNotBeEvaluated
|
||||
}
|
||||
Reference in New Issue
Block a user