Skip to content

Commit

Permalink
Rollback of wrong change which prevented to extract full lambda inclu…
Browse files Browse the repository at this point in the history
…ding functional interface
  • Loading branch information
Honza committed Oct 20, 2023
1 parent e24143e commit bba0450
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private boolean isMethodCode() {

@Override
public Void visitReturn(ReturnTree node, Void p) {
if ((isMethodCode() || isLambda) && phase == PHASE_INSIDE_SELECTION) {
if (isMethodCode() && phase == PHASE_INSIDE_SELECTION) {
selectionExits.add(getCurrentPath());
hasReturns = true;
}
Expand Down

0 comments on commit bba0450

Please sign in to comment.