Skip to content

Throw error when converting BigIntArray to Int8Array (#1690) - #1694

Merged
saghul merged 1 commit into
quickjs-ng:masterfrom
sr5434:big_int_type_error
Sep 7, 2026
Merged

Throw error when converting BigIntArray to Int8Array (#1690)#1694
saghul merged 1 commit into
quickjs-ng:masterfrom
sr5434:big_int_type_error

Conversation

@sr5434

@sr5434 sr5434 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Fixes #1690 by checking that types are compatible in the typed array constructor. Added a regression test.

@sr5434
sr5434 force-pushed the big_int_type_error branch from 49ed9b8 to 8909b45 Compare September 6, 2026 22:52
@sr5434

sr5434 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

Sorry, that commit was an accident. I just reverted it, so no new review is warranted

@saghul
saghul merged commit 5c87424 into quickjs-ng:master Sep 7, 2026
255 of 256 checks passed
@sr5434
sr5434 deleted the big_int_type_error branch September 7, 2026 19:30
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.

TypedArray constructor skips the content type check when the source typed array is empty

2 participants