Merge pull request babel/babel-eslint#166 from hzoo/remove-async-transform

remove async func transform
This commit is contained in:
Henry Zhu 2015-08-15 19:49:21 -04:00
parent 7d8de4e2ae
commit 69c303ea00

View File

@ -235,11 +235,6 @@ var astTransformVisitor = {
// functions // functions
if (this.isFunction()) {
if (node.async) node.generator = true;
delete node.async;
}
if (this.isAwaitExpression()) { if (this.isAwaitExpression()) {
node.type = "YieldExpression"; node.type = "YieldExpression";
node.delegate = node.all; node.delegate = node.all;