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

Issue 10386071: Assign a short name to private variables (first one wins). (Closed)

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

Description

Assign a short name to private variables (first one wins). Committed: https://code.google.com/p/dart/source/detail?r=7489

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -4 lines) Patch
M lib/compiler/implementation/namer.dart View 1 4 chunks +23 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
floitsch
8 years, 7 months ago (2012-05-10 14:11:23 UTC) #1
ngeoffray
LGTM https://chromiumcodereview.appspot.com/10386071/diff/1/lib/compiler/implementation/namer.dart File lib/compiler/implementation/namer.dart (right): https://chromiumcodereview.appspot.com/10386071/diff/1/lib/compiler/implementation/namer.dart#newcode45 lib/compiler/implementation/namer.dart:45: bool canNotClashWithMangledPrivateNames(String proposedName) { I'd inline the closure, ...
8 years, 7 months ago (2012-05-10 14:20:41 UTC) #2
floitsch
8 years, 7 months ago (2012-05-10 14:33:01 UTC) #3
https://chromiumcodereview.appspot.com/10386071/diff/1/lib/compiler/implement...
File lib/compiler/implementation/namer.dart (right):

https://chromiumcodereview.appspot.com/10386071/diff/1/lib/compiler/implement...
lib/compiler/implementation/namer.dart:45: bool
canNotClashWithMangledPrivateNames(String proposedName) {
On 2012/05/10 14:20:41, ngeoffray wrote:
> I'd inline the closure, and add a comment instead of encoding the comment in
the
> closure name.

Done.

Powered by Google App Engine
This is Rietveld 408576698