Index: lib/src/js/template.dart |
diff --git a/lib/src/js/template.dart b/lib/src/js/template.dart |
index 0dea734d868b1611203d44eaae9f4041bafb21c8..c13218e29793ac755ab70a9e6ed3082cfd61c8b2 100644 |
--- a/lib/src/js/template.dart |
+++ b/lib/src/js/template.dart |
@@ -857,6 +857,10 @@ class InstantiatorGeneratorVisitor implements NodeVisitor<Instantiator> { |
makeVars.map((m) => m(arguments)).toList()); |
}; |
} |
+ |
+ @override |
+ Instantiator visitSimpleBindingPattern(SimpleBindingPattern node) => |
+ (arguments) => new SimpleBindingPattern(new Identifier(node.name.name)); |
} |
/** |