[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:
Dmitrii Gridin
2023-09-22 15:45:11 +02:00
committed by Space Team
parent 2151e34de3
commit d4bc5dc717
56 changed files with 4812 additions and 0 deletions
@@ -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)
}
x