Files
kotlin-fork/idea/testData/inspectionsLocal/branched/ifThenToSafeAccess/unacceptableEmptyThenBlock.kt
T
2017-12-26 18:39:47 +03:00

11 lines
147 B
Kotlin
Vendored

// PROBLEM: none
fun main(args: Array<String>) {
val foo: String? = "foo"
if (foo != null<caret>) {
}
else {
null
}
}