K2: don't report RETURN_TYPE_MISMATCH on last statement returns
#KT-53198 Fixed
This commit is contained in:
+6
@@ -37734,6 +37734,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/functionLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableUnitLiteral.kt")
|
||||
public void testNullableUnitLiteral() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/functionLiterals/nullableUnitLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("pseudocodeMemoryOverhead.kt")
|
||||
public void testPseudocodeMemoryOverhead() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user