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

Add warning notification and add utility function to passes #743

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

vincent-botbol
Copy link
Contributor

@vincent-botbol vincent-botbol commented Nov 4, 2024

This PR plugs warnings notification mechanism that's currently used for errors messages.

It also refactors the driver's passes so that it offers more control which is needed in LSP.

We also add a global option to handle include resolving introduced by #688
Edit: I don't need this rework as of right now and I'm still not sure that it's sufficient for what I want to achieve so I removed it from the PR.

Copy link
Contributor

@denismerigoux denismerigoux left a comment

Choose a reason for hiding this comment

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

Thanks! I let @AltGr give his opinion about the refactor of driver.ml

compiler/catala_utils/message.ml Show resolved Hide resolved
@vincent-botbol vincent-botbol merged commit eeb820c into master Nov 5, 2024
5 checks passed
@vincent-botbol vincent-botbol deleted the vbot@warnings_notification branch November 5, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants