UnnecessaryVariableInspection: don't report for overriding property
#KT-39263 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
c29dbee65e
commit
122bba9102
+5
@@ -13680,6 +13680,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
runTest("idea/testData/inspectionsLocal/unnecessaryVariable/it.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("override.kt")
|
||||
public void testOverride() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/unnecessaryVariable/override.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("paramCopy.kt")
|
||||
public void testParamCopy() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/unnecessaryVariable/paramCopy.kt");
|
||||
|
||||
Reference in New Issue
Block a user