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

Issue 10913153: Parse methods named 'get' or 'set' (Closed)

Created:
8 years, 3 months ago by ahe
Modified:
8 years, 3 months ago
Reviewers:
aam-me, ngeoffray
CC:
reviews_dartlang.org, Lasse Reichstein Nielsen
Visibility:
Public.

Description

Parse methods named 'get' or 'set'. Committed: https://code.google.com/p/dart/source/detail?r=12143

Patch Set 1 : #

Patch Set 2 : Store type annotations #

Total comments: 2

Patch Set 3 : Address review comments #

Patch Set 4 : #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -60 lines) Patch
M dart/lib/compiler/implementation/resolver.dart View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M dart/lib/compiler/implementation/scanner/listener.dart View 1 2 3 4 4 chunks +6 lines, -2 lines 0 comments Download
M dart/lib/compiler/implementation/scanner/parser.dart View 1 2 3 4 6 chunks +112 lines, -50 lines 0 comments Download
M dart/tests/co19/co19-dart2js.status View 1 2 3 4 2 chunks +2 lines, -5 lines 0 comments Download
M dart/tests/language/language_dart2js.status View 1 2 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ahe
8 years, 3 months ago (2012-09-09 20:21:50 UTC) #1
ngeoffray
LGTM! https://chromiumcodereview.appspot.com/10913153/diff/5001/dart/lib/compiler/implementation/scanner/parser.dart File dart/lib/compiler/implementation/scanner/parser.dart (right): https://chromiumcodereview.appspot.com/10913153/diff/5001/dart/lib/compiler/implementation/scanner/parser.dart#newcode516 dart/lib/compiler/implementation/scanner/parser.dart:516: if (optional('operator', identifiers.head)) { 'operator' does not apply ...
8 years, 3 months ago (2012-09-10 14:24:49 UTC) #2
ahe
8 years, 3 months ago (2012-09-10 19:03:02 UTC) #3
Thank you, Nicolas!

https://chromiumcodereview.appspot.com/10913153/diff/5001/dart/lib/compiler/i...
File dart/lib/compiler/implementation/scanner/parser.dart (right):

https://chromiumcodereview.appspot.com/10913153/diff/5001/dart/lib/compiler/i...
dart/lib/compiler/implementation/scanner/parser.dart:516: if
(optional('operator', identifiers.head)) {
On 2012/09/10 14:24:49, ngeoffray wrote:
> 'operator' does not apply to top level methods.

Done.

Powered by Google App Engine
This is Rietveld 408576698