FIR: use expected type for lambda return statements if possible
This commit is contained in:
+6
@@ -15229,6 +15229,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/inference/coercionToUnit/lambdaWithNullableUnitInElvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedLambda.kt")
|
||||
public void testNestedLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/coercionToUnit/nestedLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noCoercion.kt")
|
||||
public void testNoCoercion() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user