fix issues related to export & function (#2002)
- `unused` function names - confusion with function call syntax fixes #2001
This commit is contained in:
@@ -240,6 +240,7 @@ TreeTransformer.prototype = new TreeWalker;
|
||||
});
|
||||
|
||||
_(AST_Export, function(self, tw){
|
||||
if (self.exported_definition) self.exported_definition = self.exported_definition.transform(tw);
|
||||
if (self.exported_value) self.exported_value = self.exported_value.transform(tw);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user