-
Notifications
You must be signed in to change notification settings - Fork 233
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
destruct: destructing punned record field breaks syntax #1734
Merged
voodoos
merged 2 commits into
ocaml:master
from
xvw:1661-destructing-punned-record-field-breaks-syntax
Mar 5, 2024
Merged
destruct: destructing punned record field breaks syntax #1734
voodoos
merged 2 commits into
ocaml:master
from
xvw:1661-destructing-punned-record-field-breaks-syntax
Mar 5, 2024
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
xvw
force-pushed
the
1661-destructing-punned-record-field-breaks-syntax
branch
3 times, most recently
from
February 23, 2024 15:16
3ddfd53
to
9b2baad
Compare
xvw
changed the title
FIX 1661: destructing punned record field breaks syntax
destruct: destructing punned record field breaks syntax
Feb 23, 2024
xvw
force-pushed
the
1661-destructing-punned-record-field-breaks-syntax
branch
3 times, most recently
from
February 27, 2024 17:14
c2be4f1
to
3caee43
Compare
voodoos
reviewed
Mar 4, 2024
voodoos
approved these changes
Mar 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @xvw the changes looks good to me.
voodoos
reviewed
Mar 5, 2024
xvw
force-pushed
the
1661-destructing-punned-record-field-breaks-syntax
branch
from
March 5, 2024 15:09
bc52339
to
8ec1a19
Compare
xvw
force-pushed
the
1661-destructing-punned-record-field-breaks-syntax
branch
from
March 5, 2024 15:23
8ec1a19
to
943c885
Compare
voodoos
added a commit
to voodoos/merlin
that referenced
this pull request
May 13, 2024
from xvw/1661-destructing-punned-record-field-breaks-syntax
voodoos
added a commit
to voodoos/opam-repository
that referenced
this pull request
May 17, 2024
CHANGES: Fri May 17 19:59:42 CET 2024 + merlin binary - Support for OCaml 5.2 (ocaml/merlin#1757) - destruct: Removal of residual patterns (ocaml/merlin#1737, fixes ocaml/merlin#1560) - Do not erase fields' names when destructing punned record fields (ocaml/merlin#1734, fixes ocaml/merlin#1661) - Ignore SIGPIPE in the Merlin server process (ocaml/merlin#1746) - Fix lexing of quoted strings in comments (ocaml/merlin#1754, fixes ocaml/merlin#1753) - Improve cursor position detection in longidents (ocaml/merlin#1756) - Addition of a `merlin-lib.commands` library which disassociates the execution of commands from the `new_protocol`, from the binary, allowing it to be invoked from other projects (ocaml/merlin#1758) - New occurrences backend: Don't index occurrences when `merlin.hide` attribute is present. (ocaml/merlin#1768) - Use the new `uid_to_decl` table in 5.2's cmt files to get documentation. (ocaml/merlin#1773)
voodoos
added a commit
to voodoos/opam-repository
that referenced
this pull request
May 31, 2024
CHANGES: May May 31 14:02:42 CET 2024 + merlin binary - destruct: Removal of residual patterns (ocaml/merlin#1737, fixes ocaml/merlin#1560) - Do not erase fields' names when destructing punned record fields (ocaml/merlin#1734, fixes ocaml/merlin#1661) - Ignore SIGPIPE in the Merlin server process (ocaml/merlin#1746) - Fix lexing of quoted strings in comments (ocaml/merlin#1754, fixes ocaml/merlin#1753) - Improve cursor position detection in longidents (ocaml/merlin#1756)
voodoos
added a commit
to voodoos/opam-repository
that referenced
this pull request
May 31, 2024
CHANGES: Fri May 31 14:02:42 CEST 2024 + merlin binary - destruct: Removal of residual patterns (ocaml/merlin#1737, fixes ocaml/merlin#1560) - Do not erase fields' names when destructing punned record fields (ocaml/merlin#1734, fixes ocaml/merlin#1661) - Ignore SIGPIPE in the Merlin server process (ocaml/merlin#1746) - Fix lexing of quoted strings in comments (ocaml/merlin#1754, fixes ocaml/merlin#1753) - Improve cursor position detection in longidents (ocaml/merlin#1756)
voodoos
added a commit
to voodoos/opam-repository
that referenced
this pull request
May 31, 2024
CHANGES: Fri May 31 14:02:42 CEST 2024 + merlin binary - destruct: Removal of residual patterns (ocaml/merlin#1737, fixes ocaml/merlin#1560) - Do not erase fields' names when destructing punned record fields (ocaml/merlin#1734, fixes ocaml/merlin#1661) - Ignore SIGPIPE in the Merlin server process (ocaml/merlin#1746) - Fix lexing of quoted strings in comments (ocaml/merlin#1754, fixes ocaml/merlin#1753) - Improve cursor position detection in longidents (ocaml/merlin#1756)
voodoos
added a commit
to voodoos/opam-repository
that referenced
this pull request
May 31, 2024
CHANGES: Fri May 31 14:02:42 CEST 2024 + merlin binary - destruct: Removal of residual patterns (ocaml/merlin#1737, fixes ocaml/merlin#1560) - Do not erase fields' names when destructing punned record fields (ocaml/merlin#1734, fixes ocaml/merlin#1661) - Ignore SIGPIPE in the Merlin server process (ocaml/merlin#1746) - Fix lexing of quoted strings in comments (ocaml/merlin#1754, fixes ocaml/merlin#1753) - Improve cursor position detection in longidents (ocaml/merlin#1756)
avsm
pushed a commit
to avsm/opam-repository
that referenced
this pull request
Sep 5, 2024
CHANGES: Fri May 31 14:02:42 CEST 2024 + merlin binary - destruct: Removal of residual patterns (ocaml/merlin#1737, fixes ocaml/merlin#1560) - Do not erase fields' names when destructing punned record fields (ocaml/merlin#1734, fixes ocaml/merlin#1661) - Ignore SIGPIPE in the Merlin server process (ocaml/merlin#1746) - Fix lexing of quoted strings in comments (ocaml/merlin#1754, fixes ocaml/merlin#1753) - Improve cursor position detection in longidents (ocaml/merlin#1756)
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.
Destructing a record punning field produced invalid OCaml syntax, as described in #1661, the case where we deconstruct on
a
, thea
is substituted by the result of the deconstruction, whereas we would like to producea = destruct_result
.fix #1661