Convert intention "a..b-1 -> a until b" into weak warning inspection
So #KT-17895 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
0fd42bc747
commit
5e265b3d17
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
// PROBLEM: none
|
||||
|
||||
fun foo(a: Int) {
|
||||
for (i in 0..a + 1<caret>) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user