RemoveRedundantQualifierNameInspection: add regression test
#KT-35898
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// PROBLEM: none
|
||||
|
||||
class Test1<T: Any> {
|
||||
private inner class Cell
|
||||
fun check(o: Any) {
|
||||
(o as? Test1<caret><*>.Cell)
|
||||
}
|
||||
}
|
||||
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user