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
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(bar: Int) {
|
||||
for (bar in 1..10) {
|
||||
if (1 <= bar && bar <= 10) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user