mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
3f977f0ca6
This fixes an issue with runtime blob that created arguments array for `main()`: the JS referenced a now (after [0]) no longer existing `stringToDartString` function. Instead of having a runtime blob at all for the dealing of `main` we simply give the JS array to the `invokeMain` function which can use normal JS interop to transform it to a `List<String>`. => This avoids the need to export `$getMain`, `$makeStringList` and the `buildArgsList` JS function. [0] https://dart-review.googlesource.com/c/sdk/+/372660 Change-Id: I665e60ab93a4f8ed9de5fc135ed0e68514f2af5a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/372461 Reviewed-by: Ömer Ağacan <omersa@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
.gitignore | ||
api_readme.md | ||
BUILD.gn | ||
OWNERS |