Allow placing Suppress on a type parameter

#KT-12448
This commit is contained in:
Ilya Gorbunov
2020-04-02 07:28:36 +03:00
parent fcada0a5e3
commit 8194652793
10 changed files with 34 additions and 5 deletions
@@ -23038,6 +23038,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
public void testOnPropertyAccessor() throws Exception {
runTest("compiler/testData/diagnostics/tests/suppress/oneWarning/onPropertyAccessor.kt");
}
@TestMetadata("onTypeParameter.kt")
public void testOnTypeParameter() throws Exception {
runTest("compiler/testData/diagnostics/tests/suppress/oneWarning/onTypeParameter.kt");
}
}
}
@@ -22958,6 +22958,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
public void testOnPropertyAccessor() throws Exception {
runTest("compiler/testData/diagnostics/tests/suppress/oneWarning/onPropertyAccessor.kt");
}
@TestMetadata("onTypeParameter.kt")
public void testOnTypeParameter() throws Exception {
runTest("compiler/testData/diagnostics/tests/suppress/oneWarning/onTypeParameter.kt");
}
}
}