correctly generate 'in' expressions with IntRange on RHS and a type other than Int on LHS
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun IntRange.contains(s: String): Boolean = true
|
||||
|
||||
fun box(): String {
|
||||
return if ("s" in 0..1) "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user