Files
kotlin-fork/idea/testData/inspectionsLocal/nullableBooleanElvis/notInIfWithTrue.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
99 B
Kotlin
Vendored

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