Skip to content
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

Convert s(:lambda) to s(:call) in Sexp#block_call #1415

Merged
merged 1 commit into from Oct 22, 2019

Conversation

presidentbeef
Copy link
Owner

Fixes #1410

This may be a little wasteful if Sexp#block_call is called often on :iter with :lambdas but I think it avoids modifying the AST too much and affecting fingerprints. I would prefer to stick with ruby_parser's AST nodes instead of modifying them the way Brakeman has in the past.

@presidentbeef presidentbeef merged commit 4715677 into master Oct 22, 2019
@presidentbeef presidentbeef deleted the lambda_in_block_call branch October 22, 2019 17:15
Repository owner locked and limited conversation to collaborators Jan 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Brakeman 4.7.0 fails processing routes.rb
1 participant