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

Don't load all preludes if one of them is opened #166

Merged
merged 3 commits into from
Jun 23, 2023

Conversation

hra687261
Copy link
Contributor

Makes it possible to open prelude files without the typer complaining about multiple definitions. (and load the other prelude files which were defined before the one that was opened)

Also, preserve the order of prelude files as they were received
src/lsp/server.ml Outdated Show resolved Hide resolved
@Gbury Gbury added this to the 0.9 milestone Jun 19, 2023
@Gbury
Copy link
Owner

Gbury commented Jun 22, 2023

Note: you'll need to rebase on master in order to make CI pass.

@hra687261
Copy link
Contributor Author

Done!

@Gbury Gbury merged commit aa733f8 into Gbury:master Jun 23, 2023
42 checks passed
bclement-ocp added a commit to bclement-ocp/alt-ergo that referenced this pull request Jun 23, 2023
Now that Gbury/dolmen#162 and Gbury/dolmen#166 have been merged the
build is broken. This patch removes the old In_interval constructor. It
was not working properly anyways. Support for the new Semantic_trigger
constructor that replaces it in dolmen will land in OCamlPro#681.

In addition, this patch is adapted to propagate attributes from the
typed statements. This will help determine theory and case-split
information in OCamlPro#662.
bclement-ocp added a commit to OCamlPro/alt-ergo that referenced this pull request Jun 23, 2023
Now that Gbury/dolmen#162 and Gbury/dolmen#166 have been merged the
build is broken. This patch removes the old In_interval constructor. It
was not working properly anyways. Support for the new Semantic_trigger
constructor that replaces it in dolmen will land in #681.

In addition, this patch is adapted to propagate attributes from the
typed statements. This will help determine theory and case-split
information in #662.
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.

2 participants