Add test for obsolete issue
#KT-6502 Obsolete
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
class A {
|
||||
inner class XYZ
|
||||
|
||||
fun foo() {
|
||||
val <warning>v</warning>: A.XYZ = A.<error descr="[RESOLUTION_TO_CLASSIFIER] Constructor of inner class XYZ can be called only with receiver of containing class">XYZ</error>()
|
||||
}
|
||||
}
|
||||
@@ -992,6 +992,12 @@ public class PsiCheckerTestGenerated extends AbstractPsiCheckerTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("instantiationOfInnerClassInQualifiedForm.kt")
|
||||
public void testInstantiationOfInnerClassInQualifiedForm() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/diagnosticsMessage/instantiationOfInnerClassInQualifiedForm.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("noSubstitutedTypeParameter.kt")
|
||||
public void testNoSubstitutedTypeParameter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/diagnosticsMessage/noSubstitutedTypeParameter.kt");
|
||||
|
||||
Reference in New Issue
Block a user