scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

Document Scala compiler error codes

Open WojciechMazur opened this issue 19 hours ago • 1 comments

Resolves #24720

Piggy backs fixes that would be required to have correct assertions in generated scaladoc (would be most likelly cherry-picked before merge):

  • allow to specific sc-opts:<scala-options>* to pass specify scalacOptions that would be passed to the snippetCompiler
  • show position of snippets that failed to compile

TODO:

  • [ ] - error codes 101-222
  • [ ] - document 11 inactive error codes - if inactive after 3.0.0 add latest stable release emitting errors
  • [ ] - setup CI assertions to ensure all snippets emit correct error - E001.md should emit only [E001] errors etc.
  • [ ] - for error codes introduced after 3.0.0 add information about version when given error was introduced

WojciechMazur avatar Dec 11 '25 23:12 WojciechMazur