-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Regression in CheckUnused leads to compiler crash #22499
Comments
Besides the position error, there is an error because of incompatible removal of "choice":
Probably "top-level" options only warn if wrong, but a "choice" is a hard error. Then it's necessary for the choice to have a deprecation cycle, if that is technically feasible. (Same for (Both "work-around" options probably should have been |
should use
It is a separate question whether an
I don't see span combinators resulting in |
The unpositioned tree is Not all trees in
but a trivial test did not demonstrate that. The inlined stack in CheckUnused shows Magnolia's
For reference:
|
I'll start the OpenCB to test other projects to check if it fixes them as well |
Worth adding that it's amazing that I can bump scala version locally and projects just compile (without rebuilding dependencies). |
When testing using 4e39163 I've not observed any new regressions, all of the previously failing projects are now compiling |
The regression can be observed in multiple OpenCB projects:
Compiler version
Last good release: 3.7.0-RC1-bin-20250127-89c20f8-NIGHTLY
First bad release: 3.7.0-RC1-bin-20250128-9cb97ec-NIGHTLY
Bisect failed, can be coused by any:
a5d9e25
c65d45d
6c2c5c5
Reproducer code
Needs minimization
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: