KT-5045: intention to convert between two comparisons and range check and vice versa
This commit is contained in:
committed by
Mikhail Glukhikh
parent
1040c97196
commit
6d6a16f399
+5
@@ -0,0 +1,5 @@
|
||||
fun foo(bar: Int) {
|
||||
for (bar in 1..10) {
|
||||
1 <= bar && bar <= 10
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user