Skip to content

feat(ecmascript): %TypedArray%.prototype.map #695

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

"built-ins/TypedArray/prototype/map/resizable-buffer-shrink-mid-iteration.js": "FAIL",
"built-ins/TypedArray/prototype/map/resizable-buffer.js": "FAIL",
"built-ins/TypedArray/prototype/map/return-abrupt-from-this-out-of-bounds.js": "FAIL",
"built-ins/TypedArray/prototype/map/return-new-typedarray-conversion-operation-consistent-nan.js": "FAIL",
"built-ins/TypedArray/prototype/map/return-new-typedarray-conversion-operation.js": "FAIL",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to be failing during comparison.

thread 'main' panicked at nova_vm/src/ecmascript/types/language/number.rs:542:17:
assertion failed: y.into_f64().to_bits() == (-0.0f64).to_bits() ||
    (x.into_i64() as f64) != y.into_f64()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@yossydev yossydev marked this pull request as ready for review May 11, 2025 08:45
@load1n9 load1n9 self-requested a review May 15, 2025 01:50
Copy link
Member

@load1n9 load1n9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but fix conflicts

@yossydev yossydev force-pushed the feat/%TypedArray%.prototype.map branch from 057af59 to c7312fb Compare May 15, 2025 15:47
@yossydev
Copy link
Contributor Author

LGTM but fix conflicts

thank you! I fixed it!

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

Successfully merging this pull request may close these issues.

2 participants