Skip to content

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

Merged
saghul merged 1 commit intomasterfrom
jsint64-infallible
Nov 12, 2024
Merged

Remove error handling for JS_NewInt64, it's infallible#677
saghul merged 1 commit intomasterfrom
jsint64-infallible

Conversation

@saghul
Copy link
Copy Markdown
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 Nov 12, 2024
Copy link
Copy Markdown
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
Copy Markdown
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
@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

2 participants