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

Resolve Dialyzer warnings #163

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

The typespec specifide the function as returning [...], which means
a non-empty list. Since it's possible for the AST to not include
any of the specified functions, this should be a possibly
empty Keyword list instead.
File.write!/3 can only return :ok, so the second clause was
redundant.
…error_msg/0

All of the possible return values for :os.type/0 are already
explicitly covered
@zacky1972
Copy link
Collaborator

Thanks a lot!

@zacky1972 zacky1972 self-requested a review December 3, 2021 19:04
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.

2 participants