-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Function call parsed as a Type conversion #53
Comments
Perhaps it is a type conversion: you can't tell without seeing whether package |
Still it's weird that a newline has an impact on how this thing is parsed. |
And in any case, because tree-sitter does not have the information, it should parse it as a function call, not a cast. |
Do note that even in that case, |
From semgrep/semgrep#3993
this program:
without the ending newline is parsed as a type conversion instead of a regular function call.
The text was updated successfully, but these errors were encountered: