3d8d92c7d3
- test data files renamed from *.jet to *.kt
17 lines
274 B
Kotlin
17 lines
274 B
Kotlin
fun bar(x: Int): Int = x + 1
|
|
|
|
fun foo() {
|
|
val x: Int? = null
|
|
|
|
do {
|
|
bar(<!TYPE_MISMATCH!>x<!>)
|
|
} while (x == null)
|
|
bar(x)
|
|
|
|
val y: Int? = null
|
|
do {
|
|
bar(<!TYPE_MISMATCH!>y<!>)
|
|
} while (y != null)
|
|
bar(<!TYPE_MISMATCH!>y<!>)
|
|
}
|