Skip to content

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

Open
sr5434 wants to merge 1 commit into
quickjs-ng:masterfrom
sr5434:big_int_type_error
Open

Throw error when converting BigIntArray to Int8Array (#1690)#1694
sr5434 wants to merge 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.

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