Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Creation of a rust-style error index #18679

bishabosha started this conversation in General Discussion
Discussion options

For reference rust has a error codes index, clicking on an error code gives examples and explanations.

Should we do something similar? How could we implement it.

Perhaps extracting rendered scaladoc is good enough, I could also imagine using infrastructure similar to Scala CLI where documentation for using directives is generated using annotations directly on the source code of the error message.

Ive also seen a suggestion that the compiler itself could explain errors from the command line, rather than hosting a website see here

Also this brings back the issue of should we remove the capability to report an error/warning from just a string (i.e. enforce ErrorMessageID usage)

other discussion: https://contributors.scala-lang.org/t/revisiting-dotty-diagnostics-for-tooling/5649

You must be logged in to vote

Replies: 1 comment

Comment options

bishabosha
Oct 12, 2023
Collaborator Author

this is also tracked in #15265

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /