DescriptionVM: Fix bug with ??= expressions using await.
Moving the construction of ?? into the parser using LetNode, so that the await-transformations are properly applied.
a ?? b becomes { temp = a; temp !== null ? temp : b; }
a ??= b becomes { temp = a; temp != null ? temp : a = b; }
BUG=issue #24392
R=hausner@google.com
Committed: https://github.com/dart-lang/sdk/commit/598018bd212a072e025866865ba4e5a1bd6841c7
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : added test, addressed comments #
Messages
Total messages: 8 (3 generated)
|