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

node: fix buffer includes+indexof #16642

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

node: fix buffer includes+indexof #16642

wants to merge 1 commit into from

Conversation

nektro
Copy link
Member

@nektro nektro commented Jan 23, 2025

pulled out of #15722

@robobun
Copy link

robobun commented Jan 23, 2025

Updated 11:38 PM PT - Jan 22nd, 2025

@nektro, your commit 41a3c16 has 2 failures in #10385:


🧪   try this PR locally:

bunx bun-pr 16642

@nektro nektro marked this pull request as ready for review January 23, 2025 07:37
} else {
byteOffset = static_cast<int64_t>(byteOffset_);
}
byteOffsetValue = jsDoubleNumber(byteOffsetValue.toNumber(lexicalGlobalObject));
Copy link
Collaborator

Choose a reason for hiding this comment

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

this call again to jsDoubleNumber is unnecesasry

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.

3 participants