41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
16 lines
201 B
Kotlin
16 lines
201 B
Kotlin
class IntRange {
|
|
fun contains(a: Int) = (1..2).contains(a)
|
|
}
|
|
|
|
class C() {
|
|
fun rangeTo(i: Int) = IntRange()
|
|
}
|
|
|
|
|
|
fun box(): String {
|
|
if (2 in C()..2) {
|
|
2 == 2
|
|
}
|
|
return "OK"
|
|
}
|