Exclude warning "Remove final upper bound" for functions with override modifier

^KT-25105 Fixed
This commit is contained in:
Victor Petukhov
2019-03-23 10:41:31 +03:00
parent 9cd005fbae
commit 568506e5c1
7 changed files with 220 additions and 6 deletions
@@ -8038,6 +8038,16 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/generics/doNotCaptureSupertype.kt");
}
@TestMetadata("finalUpperBoundWithOverride.kt")
public void testFinalUpperBoundWithOverride() throws Exception {
runTest("compiler/testData/diagnostics/tests/generics/finalUpperBoundWithOverride.kt");
}
@TestMetadata("finalUpperBoundWithoutOverride.kt")
public void testFinalUpperBoundWithoutOverride() throws Exception {
runTest("compiler/testData/diagnostics/tests/generics/finalUpperBoundWithoutOverride.kt");
}
@TestMetadata("genericsInType.kt")
public void testGenericsInType() throws Exception {
runTest("compiler/testData/diagnostics/tests/generics/genericsInType.kt");