DescriptionRemove the Kernel setup_builtin_library transformation
This transformation replaces the body of _getMainClosure in
dart:_builtin with `return main` for the script's main if there is one
and removes the body if there is no main.
Without this transformation fasta will compile `return null` and dartk
will compile `return throw new NoSuchMethodError...`. Both of these
patterns will be patched in the VM when dart:_builtin is compiled from
Kernel.
BUG=
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/04f7ba272a65a3ea0e170b53c68e200deda959db
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|