mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
16 lines
265 B
Kotlin
Vendored
16 lines
265 B
Kotlin
Vendored
fun test() = 3
|
|
|
|
fun <T> proxy(t: T) = t
|
|
|
|
class A {
|
|
val test = test()
|
|
}
|
|
|
|
class B {
|
|
val test = proxy(test())
|
|
}
|
|
|
|
class C {
|
|
val bar = <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!><!UNINITIALIZED_VARIABLE!>test<!>()<!>
|
|
val test = <!FUNCTION_EXPECTED!>bar<!>()
|
|
} |