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

Unified Diff: frog/leg/scanner/parser.dart

Issue 9245002: Support getters and setters. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frog/leg/resolver.dart ('k') | frog/leg/ssa/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/scanner/parser.dart
===================================================================
--- frog/leg/scanner/parser.dart (revision 3791)
+++ frog/leg/scanner/parser.dart (working copy)
@@ -558,7 +558,7 @@
final Token peek = peekAfterType(token);
if (isGetOrSet(peek) && isIdentifier(peek.next)) {
// type? get identifier
- return token;
+ return peek;
ahe 2012/04/18 12:13:52 Note to me: I think this code is duplicated in the
}
}
return null;
« no previous file with comments | « frog/leg/resolver.dart ('k') | frog/leg/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698