Skip to content

Change the naming of a type error to be more specific, of either set/add#1323

Merged
saghul merged 1 commit intoquickjs-ng:masterfrom
speedskater1610:master
Jan 29, 2026
Merged

Change the naming of a type error to be more specific, of either set/add#1323
saghul merged 1 commit intoquickjs-ng:masterfrom
speedskater1610:master

Conversation

@speedskater1610
Copy link
Copy Markdown
Contributor

@speedskater1610 speedskater1610 commented Jan 27, 2026

While using quickJS, I got the error message, "set/add is not a function" so I wanted to see if I could make it so that the error message was more descriptive, whether it was set or add erroring so that lead me to opening this small PR. Now instead it either prints "set is not a function" or "add is not a function"

@saghul saghul merged commit 6606f34 into quickjs-ng:master Jan 29, 2026
122 checks passed
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