Lift assignment out: do not report when assignment variables are different
#KT-38649 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
498c40548b
commit
5efbbdea57
+5
@@ -5707,6 +5707,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
runTest("idea/testData/inspectionsLocal/liftOut/whenToAssignment/cascadeWhen.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("differentVariablesWithSame.kt")
|
||||
public void testDifferentVariablesWithSame() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/liftOut/whenToAssignment/differentVariablesWithSame.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerWhenTransformed.kt")
|
||||
public void testInnerWhenTransformed() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/liftOut/whenToAssignment/innerWhenTransformed.kt");
|
||||
|
||||
Reference in New Issue
Block a user