[NI] Coerce to Unit expression in last block with explicit Unit
#KT-32037 Fixed
This commit is contained in:
+5
@@ -9908,6 +9908,11 @@ public class FirDiagnosticsSmokeTestGenerated extends AbstractFirDiagnosticsSmok
|
||||
runTest("compiler/testData/diagnostics/tests/inference/coercionToUnit/coercionToUnitForIfAsLastExpressionInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("coercionToUnitForLastLambdaInLambda.kt")
|
||||
public void testCoercionToUnitForLastLambdaInLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/coercionToUnit/coercionToUnitForLastLambdaInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("coercionWithExpectedType.kt")
|
||||
public void testCoercionWithExpectedType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/coercionToUnit/coercionWithExpectedType.kt");
|
||||
|
||||
Reference in New Issue
Block a user