d78d4bc44c
#KT-1682 Fixed
6 lines
176 B
Kotlin
6 lines
176 B
Kotlin
val Int.ext: () -> Int get() = { 5 }
|
|
val Long.ext: Long get() = 4.ext().toLong() //(c.kt:4)
|
|
val y: Long get() = 10L.ext
|
|
|
|
fun box(): String = if (y == 5L) "OK" else "fail: $y"
|