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

Correct type specifications of parse/1,2 #7

Merged
merged 1 commit into from
Sep 27, 2018
Merged

Correct type specifications of parse/1,2 #7

merged 1 commit into from
Sep 27, 2018

Conversation

jlouis
Copy link
Contributor

@jlouis jlouis commented Sep 27, 2018

The type specification says the functions cannot err, though the code
clearly shows that as a possible outcome. This means users of the
dialyzer will get warnings in their code bases if they rely on the
error handling and matches on the error term.

Solve this by adding the right kind of type specification to the
different parts of the code base.

The type specification says the functions cannot err, though the code
clearly shows that as a possible outcome. This means users of the
dialyzer will get warnings in their code bases if they rely on the
error handling and matches on the error term.

Solve this by adding the right kind of type specification to the
different parts of the code base.
@codecov-io
Copy link

codecov-io commented Sep 27, 2018

Codecov Report

Merging #7 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #7   +/-   ##
=======================================
  Coverage   94.18%   94.18%           
=======================================
  Files           1        1           
  Lines          86       86           
=======================================
  Hits           81       81           
  Misses          5        5
Impacted Files Coverage Δ
src/urilib.erl 94.18% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ebad28...2b93c1e. Read the comment docs.

@gmr
Copy link
Owner

gmr commented Sep 27, 2018

Thanks, I'll push a new release to hex.pm today

@gmr gmr merged commit 21d3ad9 into gmr:master Sep 27, 2018
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

Successfully merging this pull request may close these issues.

3 participants