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

An error occurred while Style/ParallelAssignment cop ... #1988

Closed
dblock opened this issue Jun 24, 2015 · 3 comments · Fixed by #1990
Closed

An error occurred while Style/ParallelAssignment cop ... #1988

dblock opened this issue Jun 24, 2015 · 3 comments · Fixed by #1990

Comments

@dblock
Copy link
Contributor

dblock commented Jun 24, 2015

Haven't debugged, seems to come from this line.

curr_best_cost, curr_best_meeting_round = Float::INFINITY

This is on https://github.com/ilyakava/sup, I can narrow it down to a spec soon if nobody picks this up. RuboCop 0.32.1.

@rrosenblum
Copy link
Contributor

Thanks for submitting the bug report. There wound up being an easy fix for this.

rrosenblum added a commit to rrosenblum/rubocop that referenced this issue Jun 25, 2015
@dblock
Copy link
Contributor Author

dblock commented Jun 25, 2015

👍

bbatsov added a commit that referenced this issue Jun 26, 2015
[Fix #1988] Do not error in Style/ParallelAssignment when assigning from a constant with colon notation
@kdeberk
Copy link

kdeberk commented Aug 3, 2015

This also fixed foo, bar = super !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants