Skip to content

Commit

Permalink
Group an other attributes-related entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Julow committed Oct 31, 2024
1 parent 71fb6e2 commit 4e9e327
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ profile. This started with version 0.26.0.
Some comments were being moved or causing OCamlformat to crash.
OCamlformat refuses to format if a comment would be missing in its output, to avoid loosing code.

- Fix attributes being dropped or moved (#2459, #2551, #2564, #2602, @tdelvecchio-jsc, @Julow)
- Fix attributes being dropped or moved (#2247, #2459, #2551, #2564, #2602, @EmileTrotignon, @tdelvecchio-jsc, @Julow)
OCamlformat refuses to format if the formatted code has a different meaning than the original code, for example, if an attribute is removed.
We also try to avoid moving attributes even if that doesn't change the original code, for example we no longer format `open[@attr] M` as `open M [@@attr]`.

- Remove trailing space inside a wrapping empty signature (#2443, @Julow)
- Fix extension-point spacing in structures (#2450, @Julow)
Expand All @@ -105,9 +106,6 @@ profile. This started with version 0.26.0.
- \* Fix arrow type indentation with `break-separators=before` (#2598, @Julow)
- Fix missing parentheses around a let in class expressions (#2599, @Julow)

### Changes
- The location of attributes for structure items is now tracked and preserved. (#2247, @EmileTrotignon)

## 0.26.2 (2024-04-18)

### Changed
Expand Down

0 comments on commit 4e9e327

Please sign in to comment.