-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Spurious unreachable case warning #16123
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
I has a similar issue in #15661 |
Facing similar issue here - https://github.com/zio/zio-schema/actions/runs/3226341119/jobs/5279743723 |
I am still facing this issue in |
The fix will be released in |
I tried again on |
@tusharmath Which snippet are you running? The one from the issue description works correctly in |
I think in my case it's a valid warning :D |
Actually this is still failing with |
@tusharmath If you think that the warning in |
Created a small repro — #16379 |
Not doing so, in a context where GADT inferrence is enabled, such as in TypeOps.refineUsingParent, leads to false inferrences. Doing so, and removing the previous fix for scala#15967, fixes the regression in scala#16339, and keeps scala#15967 as well as scala#16123 (which is somewhat related) fixed.
Not doing so, in a context where GADT inferrence is enabled, such as in TypeOps.refineUsingParent, leads to false inferrences. Doing so, and removing the previous fix for scala#15967, fixes the regression in scala#16339, and keeps scala#15967 as well as scala#16123 (which is somewhat related) fixed.
Compiler version
3.2.0
Minimized code
Compiler warning
Expectation
No warning
The text was updated successfully, but these errors were encountered: