Added test for KT-4827 UOE at PackageType.throwException()
#KT-4827 obsolete #EA-53605 obsolete
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
// KT-4827 UOE at PackageType.throwException()
|
||||||
|
// EA-53605
|
||||||
|
|
||||||
|
public trait TestInterface {
|
||||||
|
}
|
||||||
|
|
||||||
|
class C {
|
||||||
|
inner class I {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fun f() {
|
||||||
|
<!NO_CLASS_OBJECT, FUNCTION_EXPECTED!>TestInterface<!>()
|
||||||
|
C.<!UNRESOLVED_REFERENCE!>I<!>()
|
||||||
|
}
|
||||||
@@ -6734,6 +6734,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
|||||||
doTest("compiler/testData/diagnostics/tests/regressions/kt469.kt");
|
doTest("compiler/testData/diagnostics/tests/regressions/kt469.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt4827.kt")
|
||||||
|
public void testKt4827() throws Exception {
|
||||||
|
doTest("compiler/testData/diagnostics/tests/regressions/kt4827.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt498.kt")
|
@TestMetadata("kt498.kt")
|
||||||
public void testKt498() throws Exception {
|
public void testKt498() throws Exception {
|
||||||
doTest("compiler/testData/diagnostics/tests/regressions/kt498.kt");
|
doTest("compiler/testData/diagnostics/tests/regressions/kt498.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user