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

Issue 45833002: Disallow explicit parameter default values in redirecting factory (issue 13662). (Closed)

Created:
7 years, 1 month ago by regis
Modified:
7 years, 1 month ago
Reviewers:
hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Disallow explicit parameter default values in redirecting factory (issue 13662). Add language test. Fix usage in core lib. R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=29298

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -15 lines) Patch
M runtime/vm/parser.cc View 1 4 chunks +9 lines, -0 lines 0 comments Download
M sdk/lib/async/zone.dart View 1 1 chunk +13 lines, -13 lines 0 comments Download
M tests/co19/co19-co19.status View 1 1 chunk +0 lines, -2 lines 0 comments Download
M tests/co19/co19-dart2dart.status View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tests/language/language_analyzer.status View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 1 chunk +2 lines, -0 lines 0 comments Download
A tests/language/redirecting_factory_default_values_test.dart View 1 chunk +27 lines, -0 lines 0 comments Download
M tests/lib/lib.status View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
regis
7 years, 1 month ago (2013-10-25 22:21:25 UTC) #1
hausner
LGTM with nit. https://codereview.chromium.org/45833002/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/45833002/diff/1/runtime/vm/parser.cc#newcode3031 runtime/vm/parser.cc:3031: ErrorMsg("redirecting factory '%s' may not specify ...
7 years, 1 month ago (2013-10-25 22:26:38 UTC) #2
regis
Thanks! I had to mark a few tests as failing for dart2js, dart2dart, and analyzer, ...
7 years, 1 month ago (2013-10-25 22:54:42 UTC) #3
regis
7 years, 1 month ago (2013-10-25 23:02:55 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r29298 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698