Files
kotlin-fork/idea/testData/codeInsight/outOfBlock/InExtensionFunction.kt
T

12 lines
126 B
Kotlin
Vendored

// OUT_OF_CODE_BLOCK: FALSE
class A {
fun foo(): Int = 12
}
fun A.bar(): Int {
return foo() + <caret>
}
// TYPE: 1