-
Notifications
You must be signed in to change notification settings - Fork 178
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
.eex template error: no function clause matching in Enum.reverse_slice/3 #67
Comments
parroty
added a commit
that referenced
this issue
Aug 28, 2016
parroty
added a commit
that referenced
this issue
Aug 28, 2016
Thanks for the report. Does the above fix matches your expectation? I tried to simulate the same error, but I haven't been able to yet (though your comment makes sense). |
Confirmed the patch fixes the issue i was seeing. |
Thanks, pushed as v0.5.6. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
coveralls 0.5.5
onErlang/OTP 19
formix coveralls.html
results in:The offending line is in
coverage.html.eex
:Here the code is calling
Enum.reverse_slice(["path", "components"], 1, &(&1.length))
which doesn't make sense to me since the third argument should be acount
which should be an integer. I assume the intent is to dynamically determine the length of the list in the first argument, but this code doesn't do that.Possible fix
Change line 17 to:
This appears to work (in my system).
The text was updated successfully, but these errors were encountered: