[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
+1
-2
@@ -1,6 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// Properties can be recursively annotated
|
||||
annotation class ann(val x: Int)
|
||||
class My {
|
||||
@ann(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>x<!>) val x: Int = 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user