Files
kotlin-fork/idea/testData/codeInsight/outOfBlock/InPropertyWithFunctionLiteral.kt
T
2020-06-29 18:05:05 +03:00

7 lines
140 B
Kotlin
Vendored

// OUT_OF_CODE_BLOCK: TRUE
// ERROR: Unresolved reference: apri
// SKIP_ANALYZE_CHECK
class Test {
val a : () -> Int = { <caret>pri }
}