mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
11 lines
174 B
Kotlin
Vendored
11 lines
174 B
Kotlin
Vendored
// OUT_OF_CODE_BLOCK: FALSE
|
|
// ERROR: Unresolved reference: foao
|
|
class A {
|
|
fun foo(): Int = 12
|
|
}
|
|
|
|
class B(val a: A) {
|
|
val prop1: Int
|
|
get() = a.fo<caret>o()
|
|
}
|