diff --git a/idea/testData/inspectionsLocal/removeRedundantQualifierName/kt35898.kt b/idea/testData/inspectionsLocal/removeRedundantQualifierName/kt35898.kt new file mode 100644 index 00000000000..9ad74a5569a --- /dev/null +++ b/idea/testData/inspectionsLocal/removeRedundantQualifierName/kt35898.kt @@ -0,0 +1,8 @@ +// PROBLEM: none + +class Test1 { + private inner class Cell + fun check(o: Any) { + (o as? Test1<*>.Cell) + } +} diff --git a/idea/tests/org/jetbrains/kotlin/idea/inspections/LocalInspectionTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/inspections/LocalInspectionTestGenerated.java index 99298651703..aebea6a9398 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/inspections/LocalInspectionTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/inspections/LocalInspectionTestGenerated.java @@ -9017,6 +9017,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest { runTest("idea/testData/inspectionsLocal/removeRedundantQualifierName/javaConstructor.kt"); } + @TestMetadata("kt35898.kt") + public void testKt35898() throws Exception { + runTest("idea/testData/inspectionsLocal/removeRedundantQualifierName/kt35898.kt"); + } + @TestMetadata("localFun.kt") public void testLocalFun() throws Exception { runTest("idea/testData/inspectionsLocal/removeRedundantQualifierName/localFun.kt");