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

10 lines
107 B
Kotlin
Vendored

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