We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
csv/lib/csv.ex
Line 156 in 29bc8b7
Line 291 in 29bc8b7
At the moment the following code
CSV.decode([body], separator: separator, redact_errors: false)
will throw a Dialyzer error for no_return because the spec doesn't match. The current code expects decode_options() OR {:redact_errors, boolean()}.
no_return
decode_options()
{:redact_errors, boolean()}
I'm not sure how to "extend" typespec with additional arguments or if you want to do another refactor.
The text was updated successfully, but these errors were encountered:
Thanks for reporting, I'll address this soon
Sorry, something went wrong.
This has been addressed in 3.2.1 - please reopen if you still encounter issues.
3.2.1
Thanks! Fixed in 85baadb
No branches or pull requests
Relevant lines
csv/lib/csv.ex
Line 156 in 29bc8b7
csv/lib/csv.ex
Line 291 in 29bc8b7
Problem
At the moment the following code
will throw a Dialyzer error for
no_return
because the spec doesn't match. The current code expectsdecode_options()
OR{:redact_errors, boolean()}
.I'm not sure how to "extend" typespec with additional arguments or if you want to do another refactor.
The text was updated successfully, but these errors were encountered: