400e6d3f44
#KT-4310 Fixed
11 lines
189 B
Kotlin
11 lines
189 B
Kotlin
package f
|
|
|
|
fun test(a: Boolean, b: Boolean): Int {
|
|
return if(a) {
|
|
1
|
|
} else {
|
|
<!TYPE_MISMATCH!>if (b) {
|
|
3
|
|
}<!>
|
|
} // no error, but must be
|
|
} |