d4bc5dc717
These tests demonstrate the implicit type phase problem - annotations are also resolved, although they should not ^KT-56551
15 lines
303 B
Kotlin
Vendored
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 */
|