-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Assertion failure in pkg/dev_compiler/test/expression_compiler/assertions_enabled_test #54956
Comments
@johnniwinther This seems like it consistently fails for me. I suspect the tests were in a flaky state previously and the infra took a little while to recognize the consistent failure. I did a little debugging and I can see that the source location for the assertion is different now during expression evaluation. The code being compiled that causes the failure is here:
Previously sdk/pkg/dev_compiler/lib/src/kernel/compiler.dart Lines 4078 to 4113 in 81cfa19
The expecation in the test was that we would see Now I see that |
We should always have offsets on asserts so we should rely on it. Don't have this changed, though. |
The test
pkg/dev_compiler/test/expression_compiler/assertions_enabled_test
fails (somewhat) flakily after landing https://dart-review.googlesource.com/c/sdk/+/349864The failure stack track is
The text was updated successfully, but these errors were encountered: