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

Incorrect behaviour of Unusued*Operations in a comprehension #53

Closed
sasa1977 opened this issue Mar 14, 2016 · 2 comments
Closed

Incorrect behaviour of Unusued*Operations in a comprehension #53

sasa1977 opened this issue Mar 14, 2016 · 2 comments

Comments

@sasa1977
Copy link
Contributor

Here's a minimal example:

for x <- [1..3, 5..10], sum=Enum.sum(x), do: sum

This reports [W] ↗ There should be no unused return values for Enum.sum()

I've actually seen this result with a string function, but it looks like all UnusedOperations are affected.

@rrrene
Copy link
Owner

rrrene commented Mar 14, 2016

👍 Thx for reporting!

rrrene added a commit that referenced this issue Mar 15, 2016
@rrrene rrrene closed this as completed in d761de5 Mar 15, 2016
@rrrene
Copy link
Owner

rrrene commented Mar 15, 2016

Fixed it. Will release a new version soon!

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