[NI] Don't treat last labeled return expression in lambda specially

#KT-36251 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-01-30 12:43:35 +03:00
parent 66a15d23d8
commit ac69c287ec
6 changed files with 45 additions and 0 deletions
@@ -5978,6 +5978,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/delegatedProperty/inference/delegateExpressionAsLambda.kt");
}
@TestMetadata("delegatedExpressionWithLabeledReturnInsideLambda.kt")
public void testDelegatedExpressionWithLabeledReturnInsideLambda() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/inference/delegatedExpressionWithLabeledReturnInsideLambda.kt");
}
@TestMetadata("differentDelegatedExpressions.kt")
public void testDifferentDelegatedExpressions() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/inference/differentDelegatedExpressions.kt");