-
Notifications
You must be signed in to change notification settings - Fork 21
Wnonunit-statement must specify match branch, etc #12653
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
Comments
Also it's not handling Also Also nested unibranch That's from a pass over the code base. |
Perhaps Scala 3 will do better once it has |
@SethTisue No, it has the same issue. (Or one of them.)
So arguably it does better. Edit, no it's just failing to warn, such as:
|
Possibly I assumed incorrectly that XML literals are a chain of appends. Instead, they are a series of updates, but the API did not return |
Reproduction steps
Warning on a large match, where one of the cases has an interesting result, doesn't show which case(s) is interesting.
Problem
It's not usable on matches of appreciable size.
Also, it reports "result type" but not the tree shape; that is, perhaps under verbose flag, show the tree.
The text was updated successfully, but these errors were encountered: