-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve printing of destructuring with local open. #2684
Merged
Merged
Conversation
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
* master: (38 commits) chore: remove old BS_NO_COMPILER_PATCH flag (reasonml#2710) Improve printing of modules types with one line inside (reasonml#2709) generate opam files with dune (reasonml#2704) Fix version on refmt (reasonml#2701) Drop the result dependency (reasonml#2703) Remove old CI and test.sh (reasonml#2705) Migrate tests to cram suite (reasonml#2694) Make sure win doesnt break when importing (reasonml#2700) Fix top level extensions (reasonml#2693) Install before importing deps Update package json and install esy normally Re-arrange esy install Reduce install esy time Use master branch instead of main Ignore _export from esy Rename refmt_test to test Add esy-ci and opam-ci Remove jbuild-ignore chore: update nix flake (reasonml#2692) chore(readme): clarify 3.9 is unreleased ...
anmonteiro
added a commit
to anmonteiro/opam-repository
that referenced
this pull request
Oct 21, 2024
CHANGES: - Support `module%ppx` syntax (@anmonteiro, [reasonml/reason#2771](reasonml/reason#2771)) - Extend open to arbitrary module expression (@anmonteiro, [reasonml/reason#2773](reasonml/reason#2773)) - Wrap `let lazy patterns = ..` in parentheses (`let lazy(patterns) = ..`) (@anmonteiro, [reasonml/reason#2774](reasonml/reason#2774)) - Print poly variants as normal variansts (@sander Spies, [reasonml/reason#2708](reasonml/reason#2708)) - Improve printing of anonymous function return type (@sander Spies, [reasonml/reason#2686](reasonml/reason#2686)) - Improve printing of destructuring with local open (@sander Spies, [reasonml/reason#2684](reasonml/reason#2684)). - Parse and print attributes in binding `let` ops (@anmonteiro, [reasonml/reason#2777](reasonml/reason#2777)). - Parse polymorphic variants starting with `[|` (@anmonteiro, [reasonml/reason#2781](reasonml/reason#2781)) - Always add a line break in records with 2 or more fields (@anmonteiro, [reasonml/reason#2779](reasonml/reason#2779)) - Always break nonempty doc comments after `*/` (@anmonteiro, [reasonml/reason#2780](reasonml/reason#2780)) - Improve printing of arrows with labelled arguments (@anmonteiro, [reasonml/reason#2778](reasonml/reason#2778)) - Parse and print extensions in `open%foo` expressions and structure items (@anmonteiro, [reasonml/reason#2784](reasonml/reason#2784)) - Add support for module type substitutions (@anmonteiro, [reasonml/reason#2785](reasonml/reason#2785)) - Support `type%foo` extension sugar syntax (@anmonteiro, [reasonml/reason#2790](reasonml/reason#2790)) - Support quoted extensions (@anmonteiro, [reasonml/reason#2794](reasonml/reason#2794)) - Parse universal type variables in signature items (@anmonteiro, [reasonml/reason#2797](reasonml/reason#2797)) - Fix formatting of callbacks with sequence expressions (@anmonteiro, [reasonml/reason#2799](reasonml/reason#2799)) - Fix printing of attributes on module expressions (@anmonteiro, [reasonml/reason#2803](reasonml/reason#2803))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prints:
as
instead.
See #2681.