[FIR] KT-57835: Prevent the compiler crash
^KT-57835 Fixed
This commit is contained in:
committed by
Space Team
parent
e1c91ee50f
commit
caa7bee917
@@ -0,0 +1,18 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-57879
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
|
||||
// FILE: CoreBundle.java
|
||||
|
||||
public class CoreBundle {
|
||||
public static final String BUNDLE = "OK";
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class AnnKlass(val argument: String)
|
||||
|
||||
fun message(key: @AnnKlass(CoreBundle.BUNDLE) String) = key
|
||||
|
||||
fun box() = message("OK")
|
||||
Reference in New Issue
Block a user