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

Iterator/concat/next-method-returns-throwing-value-done.js is outdated #4380

Open
woess opened this issue Jan 16, 2025 · 0 comments
Open

Iterator/concat/next-method-returns-throwing-value-done.js is outdated #4380

woess opened this issue Jan 16, 2025 · 0 comments

Comments

@woess
Copy link
Contributor

woess commented Jan 16, 2025

test/built-ins/Iterator/concat/next-method-returns-throwing-value-done.js incorrectly throws ValueGetterError since tc39/proposal-iterator-sequencing#19 has introduced an extra IteratorValue step:

2. If _iteratorResult_ is ~done~, then
  a. Perform ? IteratorValue(_iteratorResult_).

The test should be changed to expect Iterator.concat getting the value of the iterator result when the underlying iterator is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant