XS does not apply runtime strict mode restrictions to async functions #334
Labels
confirmed
issue reported has been reproduced
fixed - please verify
Issue has been fixed. Please verify and close.
For async functions defined in strict mode, XS does not enforce the relevant runtime restrictions:
This is also the case when the function itself enables strict mode:
...but XS does correctly apply syntactic restrictions:
XS correctly enforces strict mode in synchronous functions:
Interestingly, strict mode is also correctly applied for synchronous functions defined within the erroneously-non-strict async functions:
This behavior was observed using the
xst
binary as provided by jsvu.The text was updated successfully, but these errors were encountered: