Skip to content

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.

Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

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

Thanks!

@kateinoigakukun kateinoigakukun merged commit d5da762 into ruby:main Oct 1, 2024
30 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