Files
kotlin-fork/compiler/testData/codegen/box/intrinsics/longRangeWithExplicitDot.kt
T
2018-06-09 19:15:38 +03:00

7 lines
175 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
fun box(): String {
val l: Long = 1
val l2: Long = 2
val r = l.rangeTo(l2)
return if (r.start == l && r.endInclusive == l2) "OK" else "fail"
}