Ignore @Nullable annotation for vararg parameter

See the comment in code for clarification

 #KT-19786 Fixed
This commit is contained in:
Denis Zharkov
2018-02-08 12:47:33 +03:00
parent cfd612e2c1
commit 88a23c73c7
15 changed files with 273 additions and 1 deletions
@@ -13303,6 +13303,18 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("notNullVarargOverride.kt")
public void testNotNullVarargOverride() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/j+k/signatureAnnotations/notNullVarargOverride.kt");
doTest(fileName);
}
@TestMetadata("nullableVarargOverride.kt")
public void testNullableVarargOverride() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/j+k/signatureAnnotations/nullableVarargOverride.kt");
doTest(fileName);
}
@TestMetadata("overridesDefaultValue.kt")
public void testOverridesDefaultValue() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/j+k/signatureAnnotations/overridesDefaultValue.kt");
@@ -13303,6 +13303,18 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
doTest(fileName);
}
@TestMetadata("notNullVarargOverride.kt")
public void testNotNullVarargOverride() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/j+k/signatureAnnotations/notNullVarargOverride.kt");
doTest(fileName);
}
@TestMetadata("nullableVarargOverride.kt")
public void testNullableVarargOverride() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/j+k/signatureAnnotations/nullableVarargOverride.kt");
doTest(fileName);
}
@TestMetadata("overridesDefaultValue.kt")
public void testOverridesDefaultValue() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/j+k/signatureAnnotations/overridesDefaultValue.kt");