Initial version of RangeContainsLowering, which optimizes calls to
contains() on ClosedRanges.
This commit is contained in:
committed by
Alexander Udalov
parent
ca541337d1
commit
1c1b1b4b0f
@@ -1,3 +1,6 @@
|
||||
fun testChar(x: Char, a: Char, b: Char) =
|
||||
if (x !in a .. b) "no" else "yes"
|
||||
|
||||
fun testInt(x: Int, a: Int, b: Int) =
|
||||
if (x !in a .. b) "no" else "yes"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user