[FIR2IR] Create IrConst instead of IrGetField for default value param in annotation class, ^KT-52676 Fixed

This commit is contained in:
Ivan Kochurkin
2022-06-08 00:59:46 +03:00
committed by teamcity
parent ca222b9c31
commit 157eedca43
8 changed files with 107 additions and 12 deletions
@@ -0,0 +1,13 @@
// TARGET_BACKEND: JVM
// FIR_IDENTICAL
// ISSUE: KT-52676
// FILE: Keyboard.java
public class Keyboard {
public static final int CHAR_NONE = 1234;
}
// FILE: main.kt
annotation class ModuleInfo(val keyBind: Int = Keyboard.CHAR_NONE)