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,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports calls to 'rangeTo' or the '..' operator instead of calls to 'until'.
|
||||
</body>
|
||||
</html>
|
||||
-1
@@ -1 +0,0 @@
|
||||
a until b
|
||||
-1
@@ -1 +0,0 @@
|
||||
a..b-1
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention replaces calls to 'rangeTo' or the '..' operator with calls to 'until' and offsets the upper bound by 1.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user