Prohibit type parameters in class literals in annotation arguments

#KT-27799 Fixed
This commit is contained in:
Alexander Udalov
2018-12-27 15:59:50 +01:00
parent c633f7568f
commit 736ac12374
11 changed files with 84 additions and 18 deletions
@@ -2991,6 +2991,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/classLiteral/inAnnotationArguments.kt");
}
@TestMetadata("inAnnotationArguments_noTypeParams.kt")
public void testInAnnotationArguments_noTypeParams() throws Exception {
runTest("compiler/testData/diagnostics/tests/classLiteral/inAnnotationArguments_noTypeParams.kt");
}
@TestMetadata("integerValueType.kt")
public void testIntegerValueType() throws Exception {
runTest("compiler/testData/diagnostics/tests/classLiteral/integerValueType.kt");
@@ -2986,6 +2986,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/classLiteral/inAnnotationArguments.kt");
}
@TestMetadata("inAnnotationArguments_noTypeParams.kt")
public void testInAnnotationArguments_noTypeParams() throws Exception {
runTest("compiler/testData/diagnostics/tests/classLiteral/inAnnotationArguments_noTypeParams.kt");
}
@TestMetadata("integerValueType.kt")
public void testIntegerValueType() throws Exception {
runTest("compiler/testData/diagnostics/tests/classLiteral/integerValueType.kt");