-
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
Remove sdk
or sdk_nnbd
from stack traces in dart2js
#41949
Comments
Just to clarify, are you seeing this in dart2js, ddc, or both sdks? |
Only dart2js is causing our tests to fail. I'm not sure if we have the same behavior covered for DDC since we rely on |
|
ok, we'd need to also investigate if there are downstream dependencies of this internally in our bazel integration |
Actually we'll likely be able to change the external build without changing the internal one, so we may be able to treat this as a separate issue |
Fwiw, here is the test code for the browser platform that breaks https://github.com/dart-lang/test/blob/master/pkgs/test/lib/src/runner/browser/platform.dart#L414. It is setting an So, we can't easily do anything compatible across multiple sdks other than setting it to |
Before the unfork we got
org-dartlang-sdk:///sdk/lib/
, after the unfork we getorg-dartlang-sdk:///sdk_nnbd/lib/
. Instead of hardcodingsdk_nnbd
for now, and then get broken again if/when that gets removes, we should consider switching toorg-dartlang-sdk:///lib/
. It's a minor breaking change forpackage:test
but I think the only impact is a degraded UX around stack traces and upgrading to the latest test runner should be a viable fix for most users.cc @grouma @jakemac53 in case there are any concerns about old versions of package test not working with newer SDKs for this.
The text was updated successfully, but these errors were encountered: