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
error with parsing ruby 3.0 endless method definition #9523
Labels
Comments
8 tasks
koic
added a commit
to koic/rubocop
that referenced
this issue
Feb 17, 2021
Fixes rubocop#9523. This PR fixes an error for `Style/TrailingMethodEndStatement` when endless method definition signature and body are on different lines.
bbatsov
pushed a commit
that referenced
this issue
Feb 17, 2021
Fixes #9523. This PR fixes an error for `Style/TrailingMethodEndStatement` when endless method definition signature and body are on different lines.
This was referenced Mar 6, 2021
Closed
This was referenced Mar 15, 2021
This was referenced Mar 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying the code provided by https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/ (concerning ractor with benchmark of tarai function), in visualstudio code and I ended up with an error.
I suppose error comes from the new syntax of def without end.
you'll find the details of rubocop -d in attachment.
regards,
tarai.rb.rubocop.debug.txt
The text was updated successfully, but these errors were encountered: