K2: don't report RETURN_TYPE_MISMATCH on last statement returns
#KT-53198 Fixed
This commit is contained in:
Generated
+6
@@ -37824,6 +37824,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
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