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

Issue 10179001: Use shorter names for constructor arguments. (Closed)

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

Description

Use shorter names for constructor arguments. Committed: https://code.google.com/p/dart/source/detail?r=6849

Patch Set 1 #

Patch Set 2 : Cosmetic change (change order of then/else). #

Patch Set 3 : Make sure mangling is correct and update tests. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -9 lines) Patch
M frog/tests/leg/src/ClassCodegenTest.dart View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M lib/compiler/implementation/emitter.dart View 1 3 chunks +11 lines, -5 lines 0 comments Download
M lib/compiler/implementation/namer.dart View 1 2 1 chunk +5 lines, -1 line 2 comments Download
A tests/language/src/Naming2Test.dart View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
floitsch
8 years, 8 months ago (2012-04-23 11:59:54 UTC) #1
ngeoffray
LGTM
8 years, 8 months ago (2012-04-23 12:00:58 UTC) #2
floitsch
Needed to update the emitter and tests.
8 years, 8 months ago (2012-04-23 16:47:16 UTC) #3
ngeoffray
LGTM https://chromiumcodereview.appspot.com/10179001/diff/1002/lib/compiler/implementation/namer.dart File lib/compiler/implementation/namer.dart (right): https://chromiumcodereview.appspot.com/10179001/diff/1002/lib/compiler/implementation/namer.dart#newcode68 lib/compiler/implementation/namer.dart:68: return '$proposedName\$'; This code very much looks like ...
8 years, 8 months ago (2012-04-23 18:38:15 UTC) #4
floitsch
8 years, 8 months ago (2012-04-25 08:42:24 UTC) #5
https://chromiumcodereview.appspot.com/10179001/diff/1002/lib/compiler/implem...
File lib/compiler/implementation/namer.dart (right):

https://chromiumcodereview.appspot.com/10179001/diff/1002/lib/compiler/implem...
lib/compiler/implementation/namer.dart:68: return '$proposedName\$';
On 2012/04/23 18:38:15, ngeoffray wrote:
> This code very much looks like JsName.getValid, should you use that instead?

Thanks. Addressed in CL 10223002.

Powered by Google App Engine
This is Rietveld 408576698