-
Notifications
You must be signed in to change notification settings - Fork 217
Switch to OCaml 4.08 Ast .. #630
Copy link
Copy link
Closed
Labels
Description
.. once ocaml-ppx/ocaml-migrate-parsetree#50 is addressed.
Here is a non-exhaustive list of interesting changes for ocamlformat:
- GPR#1970: fix order of floatting documentation comments in classes (makes the sorting unnecessary in and
Line 2248 in 85cfc0f
List.sort fields ). the sort could be implemented in migrate_parsetree when upgrading from 4.07 to 4.08.Line 2292 in 85cfc0f
List.sort fields - GPR#1958: allow [module M(_:S) = struct end] syntax (one can lift the restriction on the underscore )
Line 280 in 85cfc0f
(* The sugar is different when used with the [functor] keyword. The syntax - GPR#1960: The parser keeps previous location when relocating ast node. (should be able to help with )
Line 113 in 85cfc0f
let extend_loc_to_include_attributes t (loc : Location.t) - GPR#1705: Allow @@attributes on exceptions. (we should be able to address )
Line 3027 in 85cfc0f
(* This won't be needed once https://github.com/ocaml/ocaml/pull/1705 is - GPR#1954: Add locations to toplevel directives
- GRP#1953: Add locations to attributes in the parsetree.
Reactions are currently unavailable