Convert to range check: don't report it if recursive call will be created
#KT-39182 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
03e725d5da
commit
731848849e
+5
@@ -3871,6 +3871,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
runTest("idea/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/nonConstants.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveCall.kt")
|
||||
public void testRecursiveCall() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/recursiveCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("until.kt")
|
||||
public void testUntil() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/until.kt");
|
||||
|
||||
Reference in New Issue
Block a user