Skip to content

Commit

Permalink
Fix parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurens-W committed Jan 21, 2025
1 parent 7a5dafc commit a5d2bb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ public J visitDeconstructionPattern(DeconstructionPatternTree node, Space fmt) {
fmt,
Markers.EMPTY,
convert(node.getDeconstructor()),
JContainer.build(convertAll(node.getNestedPatterns(), commaDelim, t -> sourceBefore(")"))),
JContainer.build(sourceBefore("("), convertAll(node.getNestedPatterns(), commaDelim, t -> sourceBefore(")")), Markers.EMPTY),
type);
}

Expand Down

0 comments on commit a5d2bb1

Please sign in to comment.