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

13 lines
191 B
Kotlin
Vendored

// OUT_OF_CODE_BLOCK: TRUE
// ERROR: Unresolved reference: foao
class A {
fun foo(): Int = 12
}
class B(val a: A) {
val prop1 get() = a.fo<caret>o()
}
// TODO
// SKIP_ANALYZE_CHECK