Add diagnostics on annotations on super types. KT-23992 fixed

This commit is contained in:
Dmitriy Novozhilov
2019-02-21 17:08:25 +03:00
parent 1fc6f30c50
commit 677987c85f
10 changed files with 83 additions and 1 deletions
@@ -1449,6 +1449,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt23992.kt");
}
@TestMetadata("kt23992_after.kt")
public void testKt23992_after() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt23992_after.kt");
}
@TestMetadata("kt26638.kt")
public void testKt26638() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638.kt");
@@ -1444,6 +1444,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt23992.kt");
}
@TestMetadata("kt23992_after.kt")
public void testKt23992_after() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt23992_after.kt");
}
@TestMetadata("kt26638.kt")
public void testKt26638() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638.kt");