Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve errer mesage for property #531

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ledsun
Copy link
Contributor

@ledsun ledsun commented Sep 30, 2024

This work was originally done in #527.
After trying, I thought it would be a good idea to improve the message when a property of a JavaScript object is called as a method.

I hope this will help users quickly realize that they can't call a property as a method and their surprise will be tiny.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant