DescriptionDart VM: Fix an order-of-evaluation bug in async code.
Reading and writing local and static variables is a side effect that
might be observable from a Future, so such reads and writes cannot be
scheduled after the Future completes when they should be performed
before.
The same is true for throwing an exception.
Closes https://github.com/dart-lang/sdk/issues/26175
R=hausner@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/6f3707f3c18029874baa8f9336c6406abc84b7dd
Patch Set 1 #
Total comments: 4
Patch Set 2 : Change `Name` to `MakeName`. #Patch Set 3 : Merge upstream/master. #
Messages
Total messages: 5 (1 generated)
|