Skip to content

Conversation

@bnoordhuis
Copy link
Contributor

QuickJS reported "cannot read property of null" for computed property lookups (a[k] where a === null), which is markedly less helpful than "cannot read property 'foo' of null".

QuickJS reported "cannot read property of null" for computed property
lookups (`a[k]` where `a === null`), which is markedly less helpful
than "cannot read property 'foo' of null".
Copy link
Contributor

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niiiice!

@bnoordhuis bnoordhuis merged commit 5f91729 into quickjs-ng:master Oct 6, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the improve-error-message-computed-property-lookup branch October 6, 2025 19:04
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