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

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

Issue 8769012: Start resolving classes and default constructors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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/scanner/class_element_parser.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/listener.dart
===================================================================
--- frog/leg/scanner/listener.dart (revision 2023)
+++ frog/leg/scanner/listener.dart (working copy)
@@ -704,11 +704,11 @@
}
void endField(Token beginToken, Token endToken) {
+ canceler.cancel("fields are not implemented yet");
Expression initializer = popNode();
Identifier name = popNode();
// TODO(ahe): implement this.
pushNode(null);
- canceler.cancel("fields are not implemented yet", node: name);
}
void endMethod(Token beginToken, Token endToken) {
@@ -778,7 +778,7 @@
PartialFunctionElement(SourceString name,
Token this.beginToken, Token this.endToken)
- : super(name);
+ : super(name, ElementKind.FUNCTION, null);
FunctionExpression parseNode(Canceler canceler, Logger logger) {
if (node != null) return node;
« no previous file with comments | « frog/leg/scanner/class_element_parser.dart ('k') | frog/leg/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698