ShortenReferences: fix false negative for object call chain

#KT-32320 Fixed
This commit is contained in:
Dmitry Gridin
2019-06-30 16:44:11 +07:00
parent 33914a3a94
commit 148eed2a12
4 changed files with 46 additions and 9 deletions
@@ -8234,6 +8234,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
runTest("idea/testData/inspectionsLocal/removeRedundantQualifierName/notApplicableTypeWithRuntime2.kt");
}
@TestMetadata("objectCallChain.kt")
public void testObjectCallChain() throws Exception {
runTest("idea/testData/inspectionsLocal/removeRedundantQualifierName/objectCallChain.kt");
}
@TestMetadata("secondaryConstructor.kt")
public void testSecondaryConstructor() throws Exception {
runTest("idea/testData/inspectionsLocal/removeRedundantQualifierName/secondaryConstructor.kt");