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

Issue 2740783007: Fix debugger regression in issue 28980 (Closed)

Created:
3 years, 9 months ago by hausner
Modified:
3 years, 9 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix debugger regression in issue 28980 When generating the implicit try-catch of an async function, use the end token position of the function for the completeError() call. Before this change, the position was one token past last function token. CL https://codereview.chromium.org/2646093006/ introduced a regression. This CL fixes #28980 and implements a different fix for #28443. BUG=#28980 R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/d8ddd7766b2520e8cda889ec01930181068aad40

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix typo #

Patch Set 3 : wip #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -8 lines) Patch
M runtime/vm/debugger.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/parser.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/parser.cc View 4 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
hausner
3 years, 9 months ago (2017-03-09 23:40:22 UTC) #3
Florian Schneider
Lgtm! https://codereview.chromium.org/2740783007/diff/1/runtime/vm/parser.h File runtime/vm/parser.h (right): https://codereview.chromium.org/2740783007/diff/1/runtime/vm/parser.h#newcode670 runtime/vm/parser.h:670: TokenPosition fucnc_end_pos); Typo: -> func_end_pos
3 years, 9 months ago (2017-03-09 23:58:41 UTC) #4
hausner
https://codereview.chromium.org/2740783007/diff/1/runtime/vm/parser.h File runtime/vm/parser.h (right): https://codereview.chromium.org/2740783007/diff/1/runtime/vm/parser.h#newcode670 runtime/vm/parser.h:670: TokenPosition fucnc_end_pos); On 2017/03/09 23:58:41, Florian Schneider wrote: > ...
3 years, 9 months ago (2017-03-10 00:10:07 UTC) #5
hausner
3 years, 9 months ago (2017-03-10 00:20:53 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
d8ddd7766b2520e8cda889ec01930181068aad40 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698