-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Type lists should be sets #22
Milestone
Comments
This was referenced Jun 6, 2020
Closed
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 7, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 7, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 9, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 10, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 10, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 10, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 10, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 10, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 10, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 11, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 11, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 24, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 24, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 25, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jun 25, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jul 7, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jul 7, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jul 7, 2020
marcandre
added a commit
to marcandre/rubocop-ast
that referenced
this issue
Jul 7, 2020
This has been resolved for Closing this and related PRs. |
ashkulz
added a commit
to prontolabs/pronto-rubocop
that referenced
this issue
Feb 13, 2021
This was the first version to use rubocop-ast, and unfortunately the dependency is loose enough that rubocop-ast versions >= 0.7.0 are allowed, which cause require 'rubocop' to fail with NoMethodError: undefined method `join' for #<Set: {:==, :===, :!=, :<=, :>=, :>, :<}> # rubocop-0.84.0/lib/rubocop/cop/style/redundant_conditional.rb:57:in `<class:RedundantConditional>' This is due to rubocop/rubocop-ast#22 and it's too much effort to pin that dependency and hence easier to just block the version instead.
ashkulz
added a commit
to prontolabs/pronto-rubocop
that referenced
this issue
Feb 13, 2021
These were the first versions to use rubocop-ast, and unfortunately the dependency is loose enough that rubocop-ast versions >= 0.7.0 are allowed, which cause require 'rubocop' to fail with NoMethodError: undefined method `join' for #<Set: {:==, :===, :!=, :<=, :>=, :>, :<}> in rubocop-0.84.0/lib/rubocop/cop/style/redundant_conditional.rb:57:in `<class:RedundantConditional>' This is due to rubocop/rubocop-ast#22 so just block those versions directly. This has the unfortunate side effect of requiring rubocop-ast for older versions which don't require it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
E.g.
TRUTHY_LITERALS
Although there's not much valid reason to use them directly, this could break some code relying on them, e.g.
[...] - Set[...]
TypeError (no implicit conversion of Set into Array), so v1 might be a good time...The text was updated successfully, but these errors were encountered: