committed by
Brian Ng
parent
8393a6d089
commit
edbf5d33dc
@@ -1361,7 +1361,7 @@ export default class StatementParser extends ExpressionParser {
|
||||
|
||||
// export async;
|
||||
if (next.type !== tt._function) {
|
||||
this.unexpected(next.start, "Unexpected token, expected function");
|
||||
this.unexpected(next.start, `Unexpected token, expected "function"`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user