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

use reoptPrepareForRecovery where possible #287

Merged
merged 4 commits into from
Sep 28, 2023
Merged

use reoptPrepareForRecovery where possible #287

merged 4 commits into from
Sep 28, 2023

Conversation

Ptival
Copy link
Contributor

@Ptival Ptival commented Sep 27, 2023

With a bit of extra refactoring, all uses of Reopt's discovery can use the same helper function, rather than re-doing very similar work in multiple places.

Also renamed the confusing checkSymbolUnused into something a little more explicit.

With a bit of extra refactoring, all uses of Reopt's discovery can use
the same helper function, rather than re-doing very similar work in
multiple places.

Also renamed the confusing `checkSymbolUnused` into something a little
more explicit.
@Ptival
Copy link
Contributor Author

Ptival commented Sep 27, 2023

I should probably rename reoptPrepareForRecovery to something a little more about what it's doing than why it's doing it... Thinking...

src/Reopt.hs Outdated Show resolved Hide resolved
@Ptival Ptival merged commit b21b80b into main Sep 28, 2023
2 checks passed
@Ptival Ptival deleted the vr/prepare branch September 28, 2023 23:41
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