Skip to content

Commit

Permalink
Clone on-fail node in match-stmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KavinduZoysa committed Jan 13, 2024
1 parent a26ad33 commit 1a4f656
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 1a4f656

Please sign in to comment.