Skip to content
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

Update test262 #7

Open
wants to merge 830 commits into
base: run-test262
Choose a base branch
from
Open

Update test262 #7

wants to merge 830 commits into from

Conversation

babel-bot
Copy link

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (run-test262@ce0b370). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff               @@
##             run-test262       #7   +/-   ##
==============================================
  Coverage               ?   93.47%           
==============================================
  Files                  ?      495           
  Lines                  ?    88914           
  Branches               ?    10641           
==============================================
  Hits                   ?    83108           
  Misses                 ?     5635           
  Partials               ?      171           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

chore: update test262 to be5323459058ed14f33df75096ea51cecde8d422
nicolo-ribaudo and others added 6 commits March 6, 2024 14:39
* enable field-initializers-after-methods-private test

* refactor: extract computed key memoisation

* handle computed static field in decorated class

* handle this and super call when moving computed key assignments

* handle other functional context

* fix: insert non-static class in the key of the wrapper

This change ensures that 1) non static computed key will share the same function context when moved into the non-static class 2) evaluations of decorators and computed keys will always precede static computed keys, given that they have been moved into computed key assignments before

* inject computed keys elements to the last non-comptued elements

so that we can still preserve the production params [yield], [await] inherited from the outer scope

* reorg complex AST factories

* add new test cases

* copy test cases to 2023-11-misc--to-es-2015

* update test outputs

* rewrite findLast usage for legacy node support

* make old node happy

* fix: use temp class fields to host decorator expr

* add class-in-for-loop test

* fix: skip decorators and key when replacing super within a class method

* copy tests to es2015

* address review comments

* fix ts errors

* enable the lastPublicElement insertion point for other decorator versions

* update test output

* ensure typescript test works in both Babel 8 and Babel 7

* make old node happy

* workaround pushContainer AST sync issue

* small tweaks

- rename some routines
- improve originalClassPath access, to avoid a full traversal
- add more jsdoc coments

* output: inject computed key assignments in the first public element

* update test output
* Allow configuring monorepo root in helper-fixtures

* Do not `require()` old syntax plugins when loading with Babel 8

* Add `REQUIRED_VERSION` macro

* Add test utils for Babel 7 plugins with Babel 8 core

* Run on CI

* babel.config.js runs in node 6

* chmod

* external-helpers doesn't work with Babel 8

* Discard changes to packages/babel-helper-fixtures/src/index.ts

* Use `yarn constraints` to update package.json
Use the return value of the createClass helper
@github-actions github-actions bot force-pushed the update-test262-parser branch 2 times, most recently from 3a88cba to bb43024 Compare April 12, 2024 00:11
@github-actions github-actions bot force-pushed the update-test262-parser branch 2 times, most recently from f8a4328 to 3d5fa14 Compare April 26, 2024 00:11
@github-actions github-actions bot force-pushed the update-test262-parser branch 2 times, most recently from 704d14d to 1f58e55 Compare May 17, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet