[email protected] made many changes to the parser, and it also introduced some regressions of span.
The span of the code like
is now fixed.
swc had a bug which make
swc reject codes like the below.
This is fixed, and
async can be the start of a conditional expression.
swc/cli handled this, and providing
swc/core had no effect.
swc/core handles it so code like
works as expected.