Fix checking repeatablilty of use-site target annotations. KT-26638 fixed

This commit is contained in:
Dmitriy Novozhilov
2019-02-21 15:09:11 +03:00
parent cfda468f13
commit 92bd907983
10 changed files with 91 additions and 6 deletions
@@ -1449,6 +1449,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638.kt");
}
@TestMetadata("kt26638_after.kt")
public void testKt26638_after() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638_after.kt");
}
@TestMetadata("ParamAnnotations.kt")
public void testParamAnnotations() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/ParamAnnotations.kt");
@@ -1444,6 +1444,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638.kt");
}
@TestMetadata("kt26638_after.kt")
public void testKt26638_after() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638_after.kt");
}
@TestMetadata("ParamAnnotations.kt")
public void testParamAnnotations() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/ParamAnnotations.kt");