Replies: 1 comment 2 replies
-
All specs are implemented, excluding Annex B, which is an extension rather than a standard. The documentation should be updated. Can you send a PR? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
swc_ecma_parser documentation page says:
Can we get the coverage of test262? I think the information is very important to potential users -- they want to know what "almost all" refers to and if this is ready for serious projects. It would be better to write out known limitations.
I actually tracked down the test in
crates/swc_ecma_parser/tests/test262.rs
. Looks like this file needs some maintenance -- if I comment out the first item431ecef8c85d4d24.js
inIGNORED_PASS_TESTS
the test still passes, but not3dabeca76119d501.js
in the "annex B" area. The test directly skips anything that is in "ignored". I wonder if the test should be written in such a way that it expects these things to fail instead of ignoring them all together? This way, if a file can be parsed, it must be removed from the listBeta Was this translation helpful? Give feedback.
All reactions