[FIR] Don't miss non-const annotation args
This code with `b()` crashes the JVM backend. ^KT-59822 Fixed ^KT-59874
This commit is contained in:
committed by
Space Team
parent
5a1a23afac
commit
c656a83a02
+5
@@ -0,0 +1,5 @@
|
||||
// Properties can be recursively annotated
|
||||
annotation class ann(val x: Int)
|
||||
class My {
|
||||
@ann(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>x<!>) val x: Int = 1
|
||||
}
|
||||
Reference in New Issue
Block a user