[LL FIR] add more tests on lazy resolution for implicit type phase
These tests demonstrate the implicit type phase problem - annotations are also resolved, although they should not ^KT-56551
This commit is contained in:
committed by
Space Team
parent
2151e34de3
commit
d4bc5dc717
@@ -0,0 +1,14 @@
|
||||
/* RootScriptStructureElement */var x: Int = 0/* DeclarationStructureElement */
|
||||
|
||||
if (true) {
|
||||
class LocalClass {
|
||||
fun foo() = boo
|
||||
private val boo = 9
|
||||
}
|
||||
|
||||
val prop = LocalClass().foo()
|
||||
fun foo(y: Int) = y + 20
|
||||
x = foo(prop)
|
||||
}
|
||||
|
||||
val rv = x/* DeclarationStructureElement */
|
||||
Reference in New Issue
Block a user