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

Issue 11196020: Force named arguments in constructors. (Closed)

Created:
8 years, 2 months ago by Anton Muhin
Modified:
8 years, 2 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -16 lines) Patch
M lib/html/dart2js/html_dart2js.dart View 4 chunks +4 lines, -4 lines 0 comments Download
M lib/html/dartium/html_dartium.dart View 4 chunks +4 lines, -4 lines 0 comments Download
M lib/html/scripts/generator.py View 1 4 chunks +9 lines, -2 lines 0 comments Download
M lib/html/scripts/systemhtml.py View 1 2 chunks +3 lines, -1 line 0 comments Download
M tests/html/element_constructor_1_test.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M tests/html/query_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Anton Muhin
https://codereview.chromium.org/11196020/diff/1/tests/html/query_test.dart File tests/html/query_test.dart (right): https://codereview.chromium.org/11196020/diff/1/tests/html/query_test.dart#newcode14 tests/html/query_test.dart:14: final canvas = new CanvasElement(width: 200, height: 200); now ...
8 years, 2 months ago (2012-10-17 14:08:38 UTC) #1
vsm
My inclination here is to get rid of these optional arguments altogether and rely on ...
8 years, 2 months ago (2012-10-17 15:17:18 UTC) #2
blois
It seems to me that the named arguments are bit cleaner than the cascades, but ...
8 years, 2 months ago (2012-10-17 16:23:30 UTC) #3
Emily Fortuna
8 years, 2 months ago (2012-10-17 17:37:05 UTC) #4
I agree with Pete here.

Powered by Google App Engine
This is Rietveld 408576698