-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Unify async iterators and iterators compilation #2976
Conversation
Test262 conformance changes
Fixed tests (20):
|
Codecov Report
@@ Coverage Diff @@
## main #2976 +/- ##
==========================================
+ Coverage 50.11% 50.56% +0.45%
==========================================
Files 446 446
Lines 46028 45901 -127
==========================================
+ Hits 23065 23210 +145
+ Misses 22963 22691 -272
|
6a86988
to
3e20142
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great changes. Just have to see if my comment in jump_control breaks anything.
* Fix remaining async generator tests
d96cdb6
to
b320a3d
Compare
Hmm, the last commit didn't fix any tests. I'll try to come up with a test for this. |
Added some tests that cover the fixed bug :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Just a small nitpick :)
* Close active iterators when returning from async generator * Fix remaining async generator tests * Fix remaining async generator tests * Replace some reserved opcodes * Fix for await of loop flag * Add tests for fix * Remove whitespace * Fix test display and improve test * Change `usize` to `u32`
This Pull Request fixes a bunch of iterator tests that were failing because we handled async iterators and iterators differently with respect to closes and returns.
IteratorRecord
to be able to use it as iterator state at vm execution.IteratorRecord
stack.