-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Merge -explain-types behavior into -explain behavior #11643
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
Conversation
Eliminate -explain-types option. Error messages that can show subtype traces now do so under the -explain mechanism.
The |
Need to keep it for cross compilation.
@griggt Can I assign this to you for review? Thanks! |
I'd previously suggested on #10737 that this really ought to be a |
@SethTisue So far, there exist no -V options in Scala 3. We should have a look at this later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Eliminate -explain-types option. Error messages that can show
subtype traces now do so under the -explain mechanism.
Fixes #11637
In fact, it turns out that we need to keep -explain-types since the sbt-tpolecat plugin, which is used in the community build, blows up without it. But it's now essentially an alias of -explain.