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

Issue 10911312: Properly process constructs like Class.getter++ where there is no setter. (Closed)

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

Description

Properly process constructs like Class.getter++ where there is no setter. R=smok@google.com BUG=5178 Committed: https://code.google.com/p/dart/source/detail?r=12436

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -8 lines) Patch
M lib/compiler/implementation/dart_backend/placeholder_collector.dart View 1 2 chunks +12 lines, -7 lines 0 comments Download
M tests/language/language.status View 1 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Anton Muhin
8 years, 3 months ago (2012-09-14 13:35:26 UTC) #1
Roman
lgtm https://codereview.chromium.org/10911312/diff/1/lib/compiler/implementation/dart_backend/placeholder_collector.dart File lib/compiler/implementation/dart_backend/placeholder_collector.dart (left): https://codereview.chromium.org/10911312/diff/1/lib/compiler/implementation/dart_backend/placeholder_collector.dart#oldcode381 lib/compiler/implementation/dart_backend/placeholder_collector.dart:381: assert(element is VariableElement || element.isSetter()); Maybe just add ...
8 years, 3 months ago (2012-09-17 10:19:39 UTC) #2
Anton Muhin
8 years, 3 months ago (2012-09-17 14:13:06 UTC) #3
https://codereview.chromium.org/10911312/diff/1/lib/compiler/implementation/d...
File lib/compiler/implementation/dart_backend/placeholder_collector.dart (left):

https://codereview.chromium.org/10911312/diff/1/lib/compiler/implementation/d...
lib/compiler/implementation/dart_backend/placeholder_collector.dart:381:
assert(element is VariableElement || element.isSetter());
On 2012/09/17 10:19:39, Roman wrote:
> Maybe just add element.isGetter() to the assert? It is useful at least as a
> documentational thing for code reader.

Done.

Powered by Google App Engine
This is Rietveld 408576698