Files
kotlin/idea/testData/codeInsight/outOfBlock/InPropertyAccessorWithoutInferenceInClass.kt
2019-11-27 13:43:10 +01:00

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()
}