51b01b5d7d
Also don't do unnecessary and failing casts in CodegenAnnotatingVisitor for SAM adapters #KT-3173 Fixed #KT-3999 Fixed #KT-4682 Fixed
5 lines
118 B
Kotlin
5 lines
118 B
Kotlin
fun box(): String {
|
|
val sum = {Int.(other: Int) -> this + other }
|
|
return if (1 sum 2 == 3) "OK" else "Fail"
|
|
}
|