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
feat(transformer): numeric separator plugin. #2795
Conversation
CodSpeed Performance ReportMerging #2795 will improve performances by 3.13%Comparing Summary
Benchmarks breakdown
|
You need to update the snapshot. Just run |
Thanks, Yeah I'm aware of the snapshot being different. My issue with this one is that I'm only passing one of 2 tests and since it is such a small thing I can't put my finger on the thing that causes this issue, Have to do some tracing to figure it out.
It seems like the snapshot already has these tests passing, Since they were implemented in codegen, It is broken since I'm passing 1 of 2 instead of 2 of 2 so updating snapshots shouldn't be necessary when I get it working. |
@Dunqing Sorry to bother you, Do you have any idea about this? I'm generating the same output as Babel but the test fails. Is there anything that I'm missing? I'm getting this:
and Babel produces this:
Here is the config used for the babel:
|
I will take a look soon |
There are two problems that need to be solved
|
@Dunqing Wow great work! It literally took me a day or so to look at the same code wondering why is it wrong, Never would've thought that the test case itself was incomplete. I guess with this knowledge, We can think of this and #2797 as passing the tests since they are producing the same output as Babel. |
… the output content should be empty (#2808) #2795 (comment)
This PR updates the babel submodule in the justfile to take advantage of [this PR](babel/babel#16381). Related to #2795 and #2797.
I think we can merge this after you have cleaned up the code and fixed the conflict. |
… the output content should be empty (oxc-project#2808) oxc-project#2795 (comment)
This PR updates the babel submodule in the justfile to take advantage of [this PR](babel/babel#16381). Related to oxc-project#2795 and oxc-project#2797.
Thank you!! |
es2021 numeric separator