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

Issue 12090118: Fix the arity of a call to a constructor body, now that we pass not just the parameters. (Closed)

Created:
7 years, 10 months ago by ngeoffray
Modified:
7 years, 10 months ago
CC:
reviews_dartlang.org, Mads Ager (google)
Visibility:
Public.

Description

Fix the arity of a call to a constructor body, now that we pass not just the parameters. Committed: https://code.google.com/p/dart/source/detail?r=17983

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 2 chunks +2 lines, -2 lines 0 comments Download
A tests/language/constructor8_test.dart View 1 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ngeoffray
7 years, 10 months ago (2013-02-01 14:40:40 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/12090118/diff/1/tests/language/constructor8_test.dart File tests/language/constructor8_test.dart (right): https://codereview.chromium.org/12090118/diff/1/tests/language/constructor8_test.dart#newcode12 tests/language/constructor8_test.dart:12: A(Map a) : b = ?a { shouldn't ...
7 years, 10 months ago (2013-02-01 14:45:44 UTC) #2
ngeoffray
7 years, 10 months ago (2013-02-01 14:46:48 UTC) #3
Thanks Florian

https://codereview.chromium.org/12090118/diff/1/tests/language/constructor8_t...
File tests/language/constructor8_test.dart (right):

https://codereview.chromium.org/12090118/diff/1/tests/language/constructor8_t...
tests/language/constructor8_test.dart:12: A(Map a) : b = ?a {
On 2013/02/01 14:45:45, floitsch wrote:
> shouldn't a be optional? Otherwise a is known to be given.

Good point :) Done.

Powered by Google App Engine
This is Rietveld 408576698