PsiChecker test for classes with dollars in name
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class `A$B` {
|
||||
class `$$$` {
|
||||
class `$`
|
||||
}
|
||||
}
|
||||
|
||||
object `$$$$B$C`
|
||||
|
||||
fun f() {
|
||||
fun g() {
|
||||
class `A$B` {
|
||||
inner class `C$D`
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -502,6 +502,12 @@ public class PsiCheckerTestGenerated extends AbstractPsiCheckerTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("DollarsInName.kt")
|
||||
public void testDollarsInName() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/regression/DollarsInName.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("DoubleDefine.kt")
|
||||
public void testDoubleDefine() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/regression/DoubleDefine.kt");
|
||||
|
||||
Reference in New Issue
Block a user