correctly parse export of function & class (#2135)

This commit is contained in:
Alex Lam S.L
2017-06-21 23:15:39 +08:00
committed by GitHub
parent 8709753bfb
commit 71556d00b5
6 changed files with 89 additions and 56 deletions

View File

@@ -107,3 +107,16 @@ issue_2129: {
export const { keys } = Object;
}
}
async_func: {
options = {
keep_fargs: false,
unused: true,
}
input: {
export async function Foo(x){};
}
expect: {
export async function Foo(){};
}
}