11 lines
173 B
Kotlin
Vendored
11 lines
173 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !CHECK_TYPE
|
|
fun test() {
|
|
val a = if (true) {
|
|
val x = 1
|
|
({ x })
|
|
} else {
|
|
{ 2 }
|
|
}
|
|
a checkType { _<() -> Int>() }
|
|
} |