Files
kotlin-fork/idea/testData/codeInsight/outOfBlock/InPropertyAccessorWithoutInferenceInClass.kt
T
2019-10-30 21:41:29 +01:00

11 lines
138 B
Kotlin
Vendored

// OUT_OF_CODE_BLOCK: FALSE
class A {
fun foo(): Int = 12
}
class B(val a: A) {
val prop1: Int
get() = a.fo<caret>o()
}