-
Notifications
You must be signed in to change notification settings - Fork 29
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
Unable to call object properties that are functions #589
Comments
yesterday, while digging into the parser I had an idea that maybe we just change how
: I mean adding an option for a MethodCallApplied transformation instead of KeyExpressionApplied
That's why it works by deconstruction - bc. when deconstructed it gets into:
|
@czerwinskilukasz1 what do you think about this? |
@czerwinskilukasz1 we neeed your help! 🙏😁 |
Ack. I will try to reply tomorrow. |
@czerwinskilukasz1 friendly ping :) |
@czerwinskilukasz1 another friendly ping ;P |
@lukasz-xfaang i've stuck on this :( I really need your help @lukasz-xfaang @czerwinskilukasz1 |
The following code produces a parsing error when run on the playground
It works fine, when
myMath
is destructured first:Used expression (
myMath.sum(2, 2)
) should be translated intoNote that
call
in AskJSX can accept either thename
property in args or function expression in its first child.The text was updated successfully, but these errors were encountered: