Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Commit

Permalink
Revert "Fix export default async function to be FunctionDeclaration" (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Feb 23, 2017
1 parent b0f8405 commit 2dd57d1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 179 deletions.
2 changes: 0 additions & 2 deletions src/parser/statement.js
Expand Up @@ -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 {
Expand Down
2 changes: 0 additions & 2 deletions test/fixtures/es2017/async-functions/export/actual.js

This file was deleted.

172 changes: 0 additions & 172 deletions test/fixtures/es2017/async-functions/export/expected.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/fixtures/es2017/async-functions/export/options.json

This file was deleted.

0 comments on commit 2dd57d1

Please sign in to comment.