-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Runtime errors potentially due to incomplete pattern desugaring in switch statements #50783
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 can confirm that the following tests fail because Object pattern is not implemented yet:
|
More of the failing tests for the same reason.
These are detected by the try bots on the following CL: https://dart-review.googlesource.com/c/sdk/+/276940. |
One more example:
|
More of the test failing due to the pattern desugaring being incomplete:
|
One of the tests tracked in this issue fails with a missed compile-time error, and all other pass. I'm closing this issue. |
The following tests started surfacing runtime errors after the switch-pattern desugaring was partially introduced. It's most likely that the incomplete desugaring is the root of the issue, and it will be resolved eventually as desugaring becomes more complete.
The error was encountered during work on https://dart-review.googlesource.com/c/sdk/+/276524.
This issue is assigned label
area-front-end
tentatively, and it needs further investigation, and possibly reassignment of the tags.The text was updated successfully, but these errors were encountered: