Skip to content
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

Make with necessary when declaring type invariants. #372

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

n-osborne
Copy link
Contributor

Fixes #369

Copy link
Contributor

@shym shym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, well done!
It requires a round of dune runtest --auto-promote or two before merging.
A small suggestion: it might be nicer in src/upretty_printer.ml to reset Option with a module Option = Stdlib.Option just after the opens, since we don’t really need Opprintast.Option anyway.

@n-osborne n-osborne force-pushed the no-nameless-invariant branch 2 times, most recently from 91bddea to 8940ff1 Compare December 14, 2023 10:24
@n-osborne
Copy link
Contributor Author

Thanks.
I've followed your suggestion and updated the documentation to reflect the change.

Copy link
Contributor

@shym shym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed 2 mini-fixes. They should be squashed and this is good to merge for me!

@n-osborne
Copy link
Contributor Author

CI failure is unrelated.
I merge.

@n-osborne n-osborne merged commit aa903db into ocaml-gospel:main Dec 19, 2023
5 of 6 checks passed
@n-osborne n-osborne deleted the no-nameless-invariant branch December 19, 2023 10:43
n-osborne added a commit to n-osborne/gospel that referenced this pull request Jan 10, 2024
This changes completes those made in a previous PR (ocaml-gospel#372).
It contains the actual change in the typed ast and hence is expected to
break tools relying on the changed parts.
n-osborne added a commit to n-osborne/gospel that referenced this pull request Jan 10, 2024
This commit completes the changes made in a previous PR (ocaml-gospel#372).
It contains the actual change in the typed ast and hence is expected to
break tools relying on the changed parts.
n-osborne added a commit to n-osborne/gospel that referenced this pull request Jan 10, 2024
This commit completes the changes made in a previous PR (ocaml-gospel#372).
It contains the actual change in the typed ast and hence is expected to
break tools relying on the changed parts.
n-osborne added a commit to n-osborne/gospel that referenced this pull request Jan 10, 2024
This commit completes the changes made in a previous PR (ocaml-gospel#372).
It contains the actual change in the typed ast and hence is expected to
break tools relying on the changed parts.
mrjazzybread pushed a commit to mrjazzybread/gospel that referenced this pull request Apr 5, 2024
This commit completes the changes made in a previous PR (ocaml-gospel#372).
It contains the actual change in the typed ast and hence is expected to
break tools relying on the changed parts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

with is optional for type invariants
2 participants