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

docs(Diagnostic): explain severity levels #92

Merged
merged 3 commits into from
Oct 9, 2023
Merged

Conversation

favonia
Copy link
Contributor

@favonia favonia commented Oct 8, 2023

Close #86. @TOTBWF are you aware of any guideline or document on this? How did you get your impression?

@favonia favonia force-pushed the document-severity branch from 7622720 to 98e2667 Compare October 9, 2023 00:41
@mikeshulman
Copy link
Collaborator

Since the main intended use-case is diagnostics for compilers and typecheckers, I suggest it would be helpful to be more explicit that a "Bug" refers to a bug in the compiler, while the "end user" in the description of "Error" refers to the user of the compiler, i.e. the programmer writing in the language being compiled.

I also wouldn't personally describe a "Warning" as any kind of "error".

@favonia favonia force-pushed the document-severity branch from 98e2667 to 6cacb10 Compare October 9, 2023 01:07
@favonia favonia changed the title docs(Diagnostic): severities docs(Diagnostic): explain severity levels Oct 9, 2023
@favonia favonia force-pushed the document-severity branch from 6a1caad to 19dbb04 Compare October 9, 2023 01:41
src/DiagnosticData.ml Outdated Show resolved Hide resolved
Co-authored-by: Mike Shulman <[email protected]>
@favonia
Copy link
Contributor Author

favonia commented Oct 9, 2023

@mikeshulman I'll assume you are okay with other text and merge this.

@favonia favonia merged commit 51588d4 into main Oct 9, 2023
@favonia favonia deleted the document-severity branch October 9, 2023 02:23
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.

📚 Document "Info" and "Hint" and maybe other severity levels
2 participants