fix ie8 mangling of top-level AST_SymbolCatch (#2263)

fixes #2254
This commit is contained in:
Alex Lam S.L
2017-08-01 02:38:32 +08:00
committed by GitHub
parent c4c2ef44d0
commit e7c21e87e3
2 changed files with 67 additions and 0 deletions

View File

@@ -235,6 +235,7 @@ AST_Toplevel.DEFMETHOD("figure_out_scope", function(options){
ref.reference(options);
});
node.thedef = def;
node.reference(options);
return true;
}
}));