[IR] Don't evaluate expressions in inner class of an annotation

This commit is contained in:
Ivan Kylchik
2023-11-14 13:06:51 +01:00
committed by Space Team
parent 9742b5af73
commit 8715bd6189
21 changed files with 129 additions and 8 deletions
@@ -0,0 +1,11 @@
val a = "OK"
annotation class Anno {
class Inner {
val shouldNotBeEvaluated = a
}
}
fun box(): String {
return Anno.Inner().shouldNotBeEvaluated
}