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

Issue 10837140: Make addGetterOrSetter (now: defineAccessor) not add the abstract field as a member. (Closed)

Created:
8 years, 4 months ago by Lasse Reichstein Nielsen
Modified:
8 years, 4 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org, floitsch
Visibility:
Public.

Description

Make addGetterOrSetter (now: defineAccessor) not add the abstract field as a member. The abstract field element is only present as a result of a named lookup in order to return both getter and setter as one result. Committed: https://code.google.com/p/dart/source/detail?r=11142

Patch Set 1 #

Total comments: 17

Patch Set 2 : Address review comments. #

Patch Set 3 : Merged to bleeding edge, address comments. #

Patch Set 4 : Update to tip of tree. Remove now non-happening problem handling. #

Patch Set 5 : cleaner validation of member accessors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -56 lines) Patch
M lib/compiler/implementation/compiler.dart View 1 2 3 1 chunk +8 lines, -32 lines 0 comments Download
M lib/compiler/implementation/elements/elements.dart View 1 2 3 3 chunks +31 lines, -17 lines 0 comments Download
M lib/compiler/implementation/resolver.dart View 1 2 3 4 1 chunk +23 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Lasse Reichstein Nielsen
This generally makes the structure simpler to work with, but harder for the case where ...
8 years, 4 months ago (2012-08-07 12:52:52 UTC) #1
Anders Johnsen
LGTM, but we really need Peters input on this. https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/compiler.dart File lib/compiler/implementation/compiler.dart (right): https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/compiler.dart#newcode559 lib/compiler/implementation/compiler.dart:559: ...
8 years, 4 months ago (2012-08-07 13:02:30 UTC) #2
Lasse Reichstein Nielsen
Ping Peter.
8 years, 4 months ago (2012-08-10 10:57:28 UTC) #3
ahe
LGTM! https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/elements/elements.dart File lib/compiler/implementation/elements/elements.dart (right): https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/elements/elements.dart#newcode256 lib/compiler/implementation/elements/elements.dart:256: * Adds a definition for an accessor (getter ...
8 years, 4 months ago (2012-08-10 11:21:46 UTC) #4
Lasse Reichstein Nielsen
https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/elements/elements.dart File lib/compiler/implementation/elements/elements.dart (right): https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/elements/elements.dart#newcode256 lib/compiler/implementation/elements/elements.dart:256: * Adds a definition for an accessor (getter or ...
8 years, 4 months ago (2012-08-13 13:37:51 UTC) #5
ahe
https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/resolver.dart File lib/compiler/implementation/resolver.dart (right): https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/resolver.dart#newcode269 lib/compiler/implementation/resolver.dart:269: if (element.kind !== ElementKind.ABSTRACT_FIELD) return; On 2012/08/13 13:37:51, Lasse ...
8 years, 4 months ago (2012-08-13 16:20:26 UTC) #6
Lasse Reichstein Nielsen
https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/resolver.dart File lib/compiler/implementation/resolver.dart (right): https://chromiumcodereview.appspot.com/10837140/diff/1/lib/compiler/implementation/resolver.dart#newcode269 lib/compiler/implementation/resolver.dart:269: if (element.kind !== ElementKind.ABSTRACT_FIELD) return; Should happen for, e.g.: ...
8 years, 4 months ago (2012-08-14 11:41:07 UTC) #7
Lasse Reichstein Nielsen
PTAL.
8 years, 4 months ago (2012-08-22 12:26:14 UTC) #8
ahe
8 years, 4 months ago (2012-08-22 12:31:49 UTC) #9
LGTM!

Powered by Google App Engine
This is Rietveld 408576698