Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Issue 755053002: Fix parsing of awaitable expressions with nested functions (Closed)

Created:
6 years ago by hausner
Modified:
6 years ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix parsing of awaitable expressions with nested functions “have seen await” flag must be properly saved and restored when parsing nested function (literals) inside an await expression. Fixes issue 21536 R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=41962

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -6 lines) Patch
M runtime/vm/parser.h View 3 chunks +3 lines, -4 lines 0 comments Download
M runtime/vm/parser.cc View 2 chunks +1 line, -2 lines 0 comments Download
A tests/language/await_regression_test.dart View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
hausner
6 years ago (2014-11-25 01:24:30 UTC) #2
srdjan
lgtm
6 years ago (2014-11-25 18:10:24 UTC) #3
hausner
6 years ago (2014-11-25 18:13:53 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as r41962 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698