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

Unified Diff: frog/minfrog

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 | « frog/gen.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/minfrog
diff --git a/frog/minfrog b/frog/minfrog
index de6718ee1ae41c578c16ffd447a3d4f63d8cc2bb..49335215d9a7bdb04a858767a06b164eab2aec26 100755
--- a/frog/minfrog
+++ b/frog/minfrog
@@ -4116,6 +4116,9 @@ MethodGenerator.prototype.visitUnaryExpression = function(node) {
}
}
+MethodGenerator.prototype.visitDeclaredIdentifier = function(node) {
+ $globals.world.error('Expected expression', node.span);
+}
MethodGenerator.prototype.visitAwaitExpression = function(node) {
$globals.world.internalError('Await expressions should have been eliminated before code generation', node.span);
}
« no previous file with comments | « frog/gen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698