Files
kotlin-fork/analysis/low-level-api-fir/testData/fileStructure/secondLevelFunction.kts
T
Dmitrii Gridin d4bc5dc717 [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
2023-10-06 14:13:36 +00:00

15 lines
303 B
Kotlin
Vendored

/* 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 */