ef3ba5f0b1
Fixes problem with INFORMATION highlight type in batch mode (IDEA 181). It's no more required to report INFORMATIONs in unit tests in batch.
15 lines
305 B
Kotlin
Vendored
15 lines
305 B
Kotlin
Vendored
fun foo() {
|
|
var a: Boolean? = null
|
|
var b: Boolean? = null
|
|
if (a ?: false) {
|
|
|
|
}
|
|
if (!(a ?: false)) {
|
|
|
|
}
|
|
if (a ?: false || !(b ?: true)) {
|
|
|
|
}
|
|
val x = a ?: false // INFORMATION -- not reported in batch
|
|
val y = !(b ?: true) // INFORMATION -- not reported in batch
|
|
} |