forked from ocaml-ppx/ppx_deriving
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
free_vars_in_core_type and fold_{left,right}_type_decl now use `strin…
…g loc` Since 4.05.0, many base functions on type variables expect located strings instead of raw strings. This is also the more informative API -- locations can always be stripped out, but not regained. I have mixed feelings about the choice of reusing the same function names with a different API, which sort of enforces conditional compilation on users as well. On the other hand, this choice was designed to *reduce* the amount of conditional compilation required by providing, for all OCaml versions, the right type for many client usage patterns -- see ocaml-ppx/ppx_deriving_yojson#64
- Loading branch information
Showing
3 changed files
with
91 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters