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

refactor: dune file evaluation #5877

Merged
merged 1 commit into from
Jun 18, 2022
Merged

Conversation

rgrinberg
Copy link
Member

Dune files written in OCaml syntax must be evaluated once per run. While
this was maintained by keeping all the stanzas in one data structure in
the super context, now any memoizing function can get the list of
stanzas. This change makes sure that we don't memoize the evaluated
stanzas incorrectly.

Dune files written in OCaml syntax must be evaluated once per run. While
this was maintained by keeping all the stanzas in one data structure in
the super context, now any memoizing function can get the list of
stanzas. This change makes sure that we don't memoize the evaluated
stanzas incorrectly.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

ps-id: F1290BF8-C67B-418F-82D8-D30FF328B590
@rgrinberg rgrinberg requested review from bobot and nojb June 13, 2022 17:37
@rgrinberg rgrinberg merged commit d3296a6 into main Jun 18, 2022
@Alizter Alizter deleted the ps/rr/refactor__dune_file_evaluation branch November 12, 2022 18:06
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.

1 participant