Add tests for intrinsified in/!in and mismatching range types
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
fun testCollection(i: Int, xs: List<Any>) = i in xs.indices
|
||||
|
||||
fun testLongWithCollection(i: Long, xs: List<Any>) = i in xs.indices
|
||||
|
||||
// 0 INVOKESTATIC kotlin/collections/CollectionsKt.getIndices
|
||||
// 0 INVOKEVIRTUAL kotlin/ranges/IntRange.contains
|
||||
// 1 INVOKEINTERFACE java/util/Collection.size
|
||||
// 2 INVOKEINTERFACE java/util/Collection.size
|
||||
// 2 I2L
|
||||
|
||||
Reference in New Issue
Block a user