Initialize builder inference lambda anyway, even a call is inapplicable

^KT-47744 Fixed
This commit is contained in:
Victor Petukhov
2021-07-15 11:17:27 +03:00
committed by teamcityserver
parent 2b0ba6fa40
commit 357fda2efa
19 changed files with 227 additions and 1 deletions
@@ -12988,6 +12988,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
}
@Test
@TestMetadata("kt47744.kt")
public void testKt47744() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/kt47744.kt");
}
@Test
@TestMetadata("labaledCall.kt")
public void testLabaledCall() throws Exception {