[NI] Fix inference of lambda with receiver when wrapped...

in when/if or another lambda.
#KT-37419 fixed
This commit is contained in:
Ilya Chernikov
2020-04-12 18:20:31 +02:00
parent 6494a2d902
commit acc5633811
10 changed files with 228 additions and 23 deletions
@@ -11485,6 +11485,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt37043_2.kt");
}
@TestMetadata("kt37419.kt")
public void testKt37419() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt37419.kt");
}
@TestMetadata("kt37650.kt")
public void testKt37650() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt37650.kt");