Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dart2js] allow tabs when computing the current script.
For unclear reasons, a JS stack trace sometimes has tabs instead of spaces. For example, this has been observed when using the VS Code extension host (NodeJs) in issue #55684. When that happens, the d8 preamble function to compute the current script fails. While tabs are not generally present there, this small change can make the logic a bit more robust and versatile. Fixes #55684 Change-Id: Id1833a8b550a0ba5c9822e98d9e69ea9abfd6232 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366160 Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Nate Biggs <natebiggs@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
- Loading branch information