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); |
} |