Index: lib/compiler/implementation/resolved_visitor.dart |
=================================================================== |
--- lib/compiler/implementation/resolved_visitor.dart (revision 13683) |
+++ lib/compiler/implementation/resolved_visitor.dart (working copy) |
@@ -52,9 +52,9 @@ |
abstract R visitForeignSend(Send node); |
abstract R visitStaticSend(Send node); |
- abstract void internalError(String reason, [Node node]); |
+ abstract void internalError(String reason, {Node node}); |
R visitNode(Node node) { |
- internalError("Unhandled node", node); |
+ internalError("Unhandled node", node: node); |
} |
} |