Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#### :house: Internal

- Make expression attributes immutable in the current parsetree, now that editor refactors construct new expression nodes. https://github.com/rescript-lang/rescript/pull/8685
- Remove the unused `pat_record_label` alias from the current parsetree. https://github.com/rescript-lang/rescript/pull/8684
- Remove the unused `Ppat_open` and `Tpat_open` AST nodes, with current-AST and CMT format bumps. https://github.com/rescript-lang/rescript/pull/8682
- Represent ternary expressions with a dedicated parsetree node. https://github.com/rescript-lang/rescript/pull/8674
Expand Down
3 changes: 1 addition & 2 deletions compiler/ml/parsetree.ml
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,7 @@ and pattern_desc =
and expression = {
pexp_desc: expression_desc;
pexp_loc: Location.t;
(* Hack: made pexp_attributes mutable for use in analysis exe. Please do not use elsewhere! *)
mutable pexp_attributes: attributes; (* ... [@id1] [@id2] *)
pexp_attributes: attributes; (* ... [@id1] [@id2] *)
}

and expression_desc =
Expand Down
Loading