Files
kotlin-fork/compiler/testData/diagnostics/tests/checkArguments/booleanExpressions.fir.kt
T

8 lines
132 B
Kotlin
Vendored

// !WITH_NEW_INFERENCE
fun foo1(b: Boolean, c: Int) {
if (b && c) {}
if (b || c) {}
if (c && b) {}
if (c || b) {}
}