We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using Steep 0.52, I run into a syntax error when using anonymous block forwarding:
Example code:
def nav_orders_link(organization, options = {}, &) path = orders_path(organization) options[:rel] = 'noopener' link_to(t('navigation.orders'), path, options, &) end
Steep output:
app/helpers/navigation_helper.rb:50:51: [error] SyntaxError: unexpected token tRPAREN │ Diagnostic ID: Ruby::SyntaxError │ └ def nav_orders_link(organization, options = {}, &) ~
Changing the & to &block fixes the issue.
&
&block
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Using Steep 0.52, I run into a syntax error when using anonymous block forwarding:
Example code:
Steep output:
Changing the
&
to&block
fixes the issue.The text was updated successfully, but these errors were encountered: