Skip to content

Commit

Permalink
Merge pull request #41977 from KavinduZoysa/clone-on-fail
Browse files Browse the repository at this point in the history
Clone on-fail node in match-stmt
  • Loading branch information
KavinduZoysa authored Jan 16, 2024
2 parents c65f084 + 1a4f656 commit 5f21435
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ public void visit(BLangMatchStatement source) {
source.cloneRef = clone;
clone.setExpression(clone(source.getExpression()));
clone.matchClauses = cloneList(source.matchClauses);
clone.onFailClause = source.onFailClause;
clone.onFailClause = clone(source.onFailClause);
}

@Override
Expand Down

0 comments on commit 5f21435

Please sign in to comment.