[FIR] KT-57195: Don't approximate ft when checking override return types
Why does this check even exist? K1 doesn't do it. ^KT-57195 Fixed
This commit is contained in:
committed by
Space Team
parent
b385d787cc
commit
5505fd207e
+12
@@ -657,6 +657,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/OverrideFunctionWithParamDefaultValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideNotNull_Fail.kt")
|
||||
public void testOverrideNotNull_Fail() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/overrideNotNull_Fail.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideNotNull_Ok.kt")
|
||||
public void testOverrideNotNull_Ok() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/overrideNotNull_Ok.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("OverridenFunctionAndSpecifiedTypeParameter.kt")
|
||||
public void testOverridenFunctionAndSpecifiedTypeParameter() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user