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

Issue 1661433003: Restore try contexts when breaking out of async for loops (Closed)

Created:
4 years, 10 months ago by hausner
Modified:
4 years, 10 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Restore try contexts when breaking out of async for loops Restore the try context in the finally clause of the implicit try-finally around await-for loops. This ensures that the context is restored even when breaking out of the loop. BUG=24935 R=fschneider@google.com, regis@google.com Committed: https://github.com/dart-lang/sdk/commit/fef73d59ad177c6689cec2d1bb103714727df978

Patch Set 1 #

Patch Set 2 : Add regression test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -2 lines) Patch
M runtime/vm/parser.cc View 4 chunks +14 lines, -2 lines 0 comments Download
A tests/language/regress_24935_test.dart View 1 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
hausner
4 years, 10 months ago (2016-02-02 18:47:18 UTC) #3
hausner
Regis, adding you as a reviewer. You have worked on restoring try contexts in async ...
4 years, 10 months ago (2016-02-02 19:15:44 UTC) #5
regis
lgtm, but it would be nice to add the test of the bug report as ...
4 years, 10 months ago (2016-02-02 20:03:40 UTC) #6
hausner
Thanks. I was wondering too about the regression test. There isn't really much to test, ...
4 years, 10 months ago (2016-02-02 21:00:59 UTC) #7
Florian Schneider
Lgtm. Use BUG=dartbug.com/yyy, otherwise rietveld will add a link to the chromium issue with that ...
4 years, 10 months ago (2016-02-02 21:32:28 UTC) #8
hausner
4 years, 10 months ago (2016-02-02 21:33:19 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
fef73d59ad177c6689cec2d1bb103714727df978 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698