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

False positive in Lint/FormatParameterMismatch for argument with splat operator #2232

Closed
jonas054 opened this issue Sep 9, 2015 · 1 comment

Comments

@jonas054
Copy link
Collaborator

jonas054 commented Sep 9, 2015

Extracted from #2123. Reported by @dreyks.

What about the opposite situation?

v = [1, 2]
format('%d%d', *v)
W: Number arguments (1) to format mismatches expected fields (2).

this should probably be ignored too.

@dreyks
Copy link
Contributor

dreyks commented Sep 11, 2015

Ok seems like this does the trick
#2239

bbatsov added a commit that referenced this issue Sep 12, 2015
[Fix #2232] Fix false positive in Lint/FormatParameterMismatch for argument with splat operator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants