[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,12 @@
open annotation class ModuleInfo : Annotation {
constructor(keyBind: Int = 1234) /* primary */ {
super/*Any*/()
/* <init>() */
}
val keyBind: Int
field = keyBind
get
}