From 8ed1325dfceabe73169eae5101b37f6a2e33207e Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Fri, 23 Jan 2015 23:47:02 +1100 Subject: [PATCH] fix RestElement argument type --- lib/6to5/patch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/6to5/patch.js b/lib/6to5/patch.js index be867989b9..4bc79909c5 100644 --- a/lib/6to5/patch.js +++ b/lib/6to5/patch.js @@ -34,7 +34,7 @@ def("ImportBatchSpecifier") def("RestElement") .bases("Node") .build("argument") - .field("argument", def("Expression")); + .field("argument", def("Pattern")); // Abstract references def("VirtualPropertyExpression")