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

Issue 2452623002: Avoid parsing formal type parameters a second time from inside an async body, (Closed)

Created:
4 years, 1 month ago by regis
Modified:
4 years, 1 month ago
Reviewers:
hausner, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Avoid parsing formal type parameters a second time from inside an async body, as default values may not be resolved correctly and may conflict with already parsed formal parameters (fixes #27659). Added regression test. R=hausner@google.com Committed: https://github.com/dart-lang/sdk/commit/3342380ff8f628768076fef66679ea3754d2e883

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove leftover debugging code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -22 lines) Patch
M runtime/vm/parser.cc View 1 4 chunks +13 lines, -22 lines 0 comments Download
A tests/language/regress_27659_test.dart View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
regis
4 years, 1 month ago (2016-10-25 13:29:28 UTC) #2
hausner
lgtm https://codereview.chromium.org/2452623002/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/2452623002/diff/1/runtime/vm/parser.cc#newcode11249 runtime/vm/parser.cc:11249: expr->EvalConstExpr(); Why do you evaluate the expression a ...
4 years, 1 month ago (2016-10-25 15:04:55 UTC) #3
regis
Thanks! https://codereview.chromium.org/2452623002/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/2452623002/diff/1/runtime/vm/parser.cc#newcode11249 runtime/vm/parser.cc:11249: expr->EvalConstExpr(); On 2016/10/25 15:04:55, hausner wrote: > Why ...
4 years, 1 month ago (2016-10-25 15:08:46 UTC) #4
regis
4 years, 1 month ago (2016-10-25 15:11:44 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
3342380ff8f628768076fef66679ea3754d2e883 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698