scala3
scala3 copied to clipboard
Add error code to diagnostics about unused code
Sorry for the review to take that long, but it seems like we've aligned the solution. I think we can move into the next stage where we implement the remaining diagnostics and a dozen of tests.
As discussed in DMs I stripped the PR from any implementation of actionable diagnostics for unused symbols so it can be merged faster. Actionable diagnostics will be implemented as a follow-up.
In the meantime merging this PR will unblock other work in metals as we need to have the errorCode set in stone before we start using it.