Files
kotlin-fork/compiler/testData/diagnostics/tests/controlStructures/kt4310.kt
T

11 lines
161 B
Kotlin
Vendored

package f
fun test(a: Boolean, b: Boolean): Int {
return if(a) {
1
} else {
<!TYPE_MISMATCH!>if (b) {
3
}<!>
}
}