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

Remove error handling for JS_NewInt64, it's infallible #677

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Nov 12, 2024

No description provided.

@saghul saghul force-pushed the jsint64-infallible branch from 76e05b9 to 63d420a Compare November 12, 2024 08:21
@saghul saghul changed the title Remove error handling for JS_NewInt64, t's infallible Remove error handling for JS_NewInt64, it's infallible Nov 12, 2024
Copy link
Contributor

@bnoordhuis bnoordhuis 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 you might as well s/JS_NewInt64\(ctx, /js_int64(/ everywhere now, I suppose?

@saghul
Copy link
Contributor Author

saghul commented Nov 12, 2024

Good point, I can do that yeah!

@saghul saghul force-pushed the jsint64-infallible branch from 63d420a to a83bb4e Compare November 12, 2024 21:20
@saghul saghul merged commit 4933e17 into master Nov 12, 2024
47 checks passed
@saghul saghul deleted the jsint64-infallible branch November 12, 2024 21:33
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