Skip to content

Fix member access on non-decimal numeric literals#496

Open
bptato wants to merge 1 commit intobellard:masterfrom
bptato:fix-hex-access
Open

Fix member access on non-decimal numeric literals#496
bptato wants to merge 1 commit intobellard:masterfrom
bptato:fix-hex-access

Conversation

@bptato
Copy link
Copy Markdown

@bptato bptato commented Mar 24, 2026

In other engines, 0x0.toString() returns '0', but QJS would try to parse it as a float and then throw.
Also removes remnants of hex float parsing which is no longer supported anyway.

(Port of quickjs-ng/quickjs#377)

In other engines, 0x0.toString() returns '0', but QJS would try to parse it
as a float and then throw.
Also removes remnants of hex float parsing which is no longer supported
anyway.

(Port of quickjs-ng/quickjs#377)
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.

1 participant