Skip to content

Commit

Permalink
fine tune the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-herrmann committed Jun 15, 2024
1 parent 8651ca2 commit 23185f2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,10 @@ protected boolean triggerRecoveryUponLambdaClosure(Statement statement, boolean
}
boolean insideType = false;
for (int i = this.elementPtr; i >= 0; --i) {
if (this.elementKindStack[i] == K_TYPE_DELIMITER)
if (this.elementKindStack[i] == K_TYPE_DELIMITER) {
insideType = true;
break;
}
if (this.elementKindStack[i] != K_LAMBDA_EXPRESSION_DELIMITER)
continue;
LambdaExpression expression = (LambdaExpression) this.elementObjectInfoStack[i];
Expand Down

0 comments on commit 23185f2

Please sign in to comment.