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

10 lines
107 B
Kotlin
Vendored

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