-
Notifications
You must be signed in to change notification settings - Fork 135
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
Python TSG: Unable to parse lambda in parameter/arguments #403
Comments
A more minimalistic example Inputsorted([1, 2, 3], key=lambda x: x) CST
Suggested fix++[
(parameters
(_) @param) @params
++ (lambda_parameters
++ (_) @param) @params
-- {
++] {
node @param.param_index
node @param.param_name
attr (@param.param_index) push_symbol = (named-child-index @param)
edge @param.param_index -> @params.before_scope
edge @params.after_scope -> @param.input
edge @param.param_name -> @params.before_scope
} |
Thanks for reporting these and other issues! If it's possible to create PRs for issues where you have suggested fixes, that will make it easier for me to get them in with the limited time I currently have for this project. |
Did the issue got resolved? I'm getting the same error |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Python Code:
Failing Stanza:
The text was updated successfully, but these errors were encountered: