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

Unified Diff: frog/gen.dart

Issue 9085016: Fix bug 1011 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 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 | « no previous file | frog/minfrog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/gen.dart
diff --git a/frog/gen.dart b/frog/gen.dart
index eb0e8f582887b493ea9baf6a59cb4567ba8ca694..b0d59ba828d9838dc73126fc225cffe76fcb0703 100644
--- a/frog/gen.dart
+++ b/frog/gen.dart
@@ -557,7 +557,7 @@ function $inheritsMembers(child, parent) {
writer.comment('// ${typesWithDynamicDispatch.length} dynamic types.');
typeTag(type) => type.definition.nativeType.name;
-
+
// Build a pre-order traversal over all the types and their subtypes.
var seen = new Set();
var types = [];
@@ -2260,6 +2260,10 @@ class MethodGenerator implements TreeVisitor {
}
}
+ visitDeclaredIdentifier(DeclaredIdentifier node) {
+ world.error('Expected expression', node.span);
+ }
+
visitAwaitExpression(AwaitExpression node) {
world.internalError(
'Await expressions should have been eliminated before code generation',
« no previous file with comments | « no previous file | frog/minfrog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698