shapesecurity / shift-parser-js

ECMAScript parser that produces a Shift format AST
http://shift-ast.org/parser.html
Apache License 2.0
251 stars 28 forks source link

Fails to accept `async(a = { x(await){} })=>{}` #431

Closed bakkot closed 4 years ago

bakkot commented 4 years ago

async(a = { x(await){} })=>{} is a valid program, but is rejected with Async arrow parameters may not contain "await".

I'll have a fix up shortly.