move shadow-functions internal transformer to builtin-cleanup category

This commit is contained in:
Sebastian McKenzie 2015-05-08 15:51:56 +01:00
parent ba516901af
commit c526a3eb04

View File

@ -85,6 +85,10 @@ function aliasFunction(getBody, path, scope) {
// todo: on all `this` and `arguments`, walk UP the tree instead of
// crawling the entire function tree
export var metadata = {
category: "builtin-cleanup"
};
export var Program = {
exit(node, parent, scope) {
aliasFunction(function () {