Files
kotlin-fork/idea/testData/inspectionsLocal/nullableBooleanElvis/notInIf.kt
T
Mikhail Glukhikh ef3ba5f0b1 Test local inspections on the fly via highlighting
Fixes problem with INFORMATION highlight type in batch mode (IDEA 181).
It's no more required to report INFORMATIONs in unit tests in batch.
2018-04-18 16:14:43 +03:00

6 lines
97 B
Kotlin
Vendored

// HIGHLIGHT: INFORMATION
fun foo() {
var a: Boolean? = null
val x = a<caret> ?: false
}