New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tc39/test262 #543
Comments
TODO: reminder for we could run against this branch temporarily and see what it does (and whitelist/blacklist if needed) |
WOW!!! This is so nice! I'm floored here. Thank you so much for digging into this!
Oh, I see now. When testing locally changing all the extensions might be a pain and a quick The test262 tests are probably assuming some out-of-band way to signal that the parse goal is "module". With browsers that's the
We should parse private class fields, so if it's erroring there then that's a bug on us. The rest is up to Node with the Update: Moved to #550. |
thank you!! much appreciated! 👍
that wouldn't be a problem as well, the way the test run is setup. I just have a really distaste of 'mjs'. 😖
ah, thank you! I'll get back to you with some thoughts on that later! I'm probably missing some things for the whole picture.
I probably forgot the |
The |
yeah, I noticed! absolutely amazing job!!! 🎉🎊 |
I took a stab at running
esm
against the ECMA Test Suite tc39/test262 and it's looking pretty darn good so far!!I included only https://github.com/tc39/test262/tree/master/test/language/module-code [for now]
I also added the
"use modules"
pragma, since otherwiseesm
thinks of some files ascjs modules
. that being sad, I'm still thinking that behavior should be changed for the longer good 😕236
tests arepassing
16
tests I markedpending
(in order to investigate)out of the
16 pending
are:4 tests using export * from ns
1 test uses a
stage 3
private class fieldssome others seem like legit bugs, I'll report back here.
@jdalton regarding
private class fields
, would you rather have users go through Babel for syntax parsing and/or compilation? Which I believe the Babel plugin is not quite ready yet, but I sense it'll be very soon. There's also already several--harmony
flags regarding private fields in node v10+ (for V8). (not quite sure why there is more than one flag though, I haven't looked into the differences).I'm in the midst of automating the test run, so we can include it in the
esm test suite
. there's some small portions missing, plus the code needs some serious TLC.PR coming ...
The text was updated successfully, but these errors were encountered: