Implicit Call Expression #686
Unanswered
HungMingWu
asked this question in
Q&A
Replies: 1 comment
-
Yes, it does seem that all the commercial tools treat it as a function call. This seems like pretty terrible coding practice in my opinion but I will fix slang to behave the same way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am not sure whether it is a bug.
In slang, it treat
update_status
as a variable symbol, so it prints expression is not allowed as a statement error.But some commercial parser treat it as a call expression.
Like this
Any comment?
Beta Was this translation helpful? Give feedback.
All reactions