Ensure that 'in/!in x until y' intrinsic works
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun testByte(a: Byte, x: Byte, y: Byte) = a in x until y
|
||||
|
||||
fun testShort(a: Short, x: Short, y: Short) = a in x until y
|
||||
|
||||
fun testInt(a: Int, x: Int, y: Int) = a in x until y
|
||||
|
||||
fun testLong(a: Long, x: Long, y: Long) = a in x until y
|
||||
|
||||
// 0 INVOKESTATIC kotlin/ranges/RangesKt.until
|
||||
// 0 INVOKEVIRTUAL
|
||||
Reference in New Issue
Block a user