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

Add type information #143

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

Conversation

varnerac
Copy link
Contributor

Type all the things. Minor refactors.

@varnerac
Copy link
Contributor Author

Any thoughts on this?

@@ -68,8 +64,8 @@ defmodule Ace.HTTP2.Frame do
{:error, {:unknown_frame_type, type}} ->
{:ok, {{:unknown_frame_type, type}, unprocessed}}

{:error, reason} ->
{:error, reason}
{:error, reason} ->
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Odd formatting here. 🤔

@CrowdHailer
Copy link
Owner

This is good. Would be good to be able to Run dialyzer against it in travis

@CrowdHailer
Copy link
Owner

@varnerac can you merge the latest master into this branch.

Then have a look if dialyzer passes. https://travis-ci.org/github/CrowdHailer/Ace/pull_requests

I see a few errors on master but wonder if the improved type information on here will clear them up.
The errors I have are

lib/ace/governor.ex:37: Function init/1 has no local return
lib/ace/governor.ex:64: Function start_server/1 has no local return

@varnerac
Copy link
Contributor Author

varnerac commented Apr 2, 2020

Will do

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