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

Issue 9454014: Support named parameters for super initializers and redirections. (Closed)

Created:
8 years, 10 months ago by karlklose
Modified:
8 years, 10 months ago
Reviewers:
floitsch, ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Support named parameters for super initializers and redirections. Committed: https://code.google.com/p/dart/source/detail?r=4606

Patch Set 1 #

Patch Set 2 : Fix signature. #

Patch Set 3 : Add test. #

Patch Set 4 : Use addStaticSendArguments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -32 lines) Patch
M frog/leg/resolver.dart View 1 2 3 3 chunks +11 lines, -9 lines 1 comment Download
M frog/leg/ssa/builder.dart View 1 2 3 2 chunks +7 lines, -23 lines 0 comments Download
A tests/language/src/ConstructorNamedArgumentsTest.dart View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
karlklose
8 years, 10 months ago (2012-02-23 14:37:21 UTC) #1
ngeoffray
8 years, 10 months ago (2012-02-24 13:43:01 UTC) #2
LGTM! Thanks for the refactoring.

http://codereview.chromium.org/9454014/diff/5001/frog/leg/resolver.dart
File frog/leg/resolver.dart (right):

http://codereview.chromium.org/9454014/diff/5001/frog/leg/resolver.dart#newco...
frog/leg/resolver.dart:372: // Resolve the arguments of the call to get a
selector.
This is not just for getting a selector, but also resolving the arguments. Maybe
improve the comment by saying:
// Resolve the arguments, and make sure the call gets a selector, by calling
handleArguments.

Powered by Google App Engine
This is Rietveld 408576698