Revert "Fix export default async function to be FunctionDeclaration" (#375)

This commit is contained in:
Henry Zhu
2017-02-23 09:50:33 -05:00
committed by GitHub
parent b0f8405b52
commit 2dd57d17b9
4 changed files with 0 additions and 179 deletions

View File

@@ -835,8 +835,6 @@ pp.parseExport = function (node) {
let needsSemi = false;
if (this.eat(tt._function)) {
expr = this.parseFunction(expr, true, false, false, true);
} else if (this.eatContextual("async") && this.eat(tt._function)) {
expr = this.parseFunction(expr, true, false, true, true);
} else if (this.match(tt._class)) {
expr = this.parseClass(expr, true, true);
} else {