diff --git a/compiler/testData/diagnostics/tests/regressions/kt4827.kt b/compiler/testData/diagnostics/tests/regressions/kt4827.kt new file mode 100644 index 00000000000..6285a8b89a7 --- /dev/null +++ b/compiler/testData/diagnostics/tests/regressions/kt4827.kt @@ -0,0 +1,16 @@ +// KT-4827 UOE at PackageType.throwException() +// EA-53605 + +public trait TestInterface { +} + +class C { + inner class I { + + } +} + +fun f() { + TestInterface() + C.I() +} \ No newline at end of file diff --git a/compiler/tests/org/jetbrains/jet/checkers/JetDiagnosticsTestGenerated.java b/compiler/tests/org/jetbrains/jet/checkers/JetDiagnosticsTestGenerated.java index ee289e33482..194a0f68f60 100644 --- a/compiler/tests/org/jetbrains/jet/checkers/JetDiagnosticsTestGenerated.java +++ b/compiler/tests/org/jetbrains/jet/checkers/JetDiagnosticsTestGenerated.java @@ -6734,6 +6734,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest { 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") public void testKt498() throws Exception { doTest("compiler/testData/diagnostics/tests/regressions/kt498.kt");