Allow to declare vararg parameters of unsigned types
varargs inside annotations will be supported later when constant evaluation of more complex expressions of unsigned types will be ready #KT-24880 In Progress
This commit is contained in:
+5
@@ -29,6 +29,11 @@ public class DiagnosticsWithUnsignedTypesGenerated extends AbstractDiagnosticsWi
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/testsWithUnsignedTypes"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("allowedVarargsOfUnsignedTypes.kt")
|
||||
public void testAllowedVarargsOfUnsignedTypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithUnsignedTypes/allowedVarargsOfUnsignedTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forbiddenEqualsOnUnsignedTypes.kt")
|
||||
public void testForbiddenEqualsOnUnsignedTypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithUnsignedTypes/forbiddenEqualsOnUnsignedTypes.kt");
|
||||
|
||||
Reference in New Issue
Block a user