Files
kotlin-fork/idea/testData/codeInsight/outOfBlock/WholeFileChanged.kt
T
2019-11-27 13:43:10 +01:00

14 lines
290 B
Kotlin
Vendored

// OUT_OF_CODE_BLOCK: TRUE
// SKIP_ANALYZE_CHECK
// ERROR: Function declaration must have a name
fun test() {<caret>
val someThing: Any? = null
val otherThing: Any? = null
if (!(someThing?.equals(otherThing) ?: otherThing == null)) {
// Some comment
}
// TYPE: }