Chromium Code Reviews
Descriptiondart2js: Do not use the async rewriter on nested functions.
Nested functions in JS can be introduced by foreign code in our own
libraries. They are always plain synchronous non-generator JS functions so
it is unnecessary to rewrite them. Trying to do so will crash, because the
pre-translation analysis does not analyze them. The translation wouldn't
do the right thing anyway.
Closes https://github.com/dart-lang/sdk/issues/25396
BUG=
R=sigmund@google.com, sigurdm@google.com
Committed: https://github.com/dart-lang/sdk/commit/78998a518c96400807b5897ac9519167fbe740d6
Patch Set 1 #
Messages
Total messages: 7 (3 generated)
|
|||||||||||||||||||