[FIR2IR] Consider property init value from nested class, ^KT-52057 Fixed
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
// ISSUE: KT-52057
|
||||
// MODULE: lib
|
||||
// FILE: Class.kt
|
||||
|
||||
annotation class Ann(val p: String)
|
||||
|
||||
class Class {
|
||||
object Obj {
|
||||
const val Const = "const"
|
||||
}
|
||||
}
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
|
||||
import Class
|
||||
|
||||
@Ann("${Class.Obj.Const}+")
|
||||
fun f(): String = "OK"
|
||||
|
||||
fun box() = f()
|
||||
Reference in New Issue
Block a user