Skip to content

Instantly share code, notes, and snippets.

@Zert
Created February 5, 2014 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zert/8819327 to your computer and use it in GitHub Desktop.
Save Zert/8819327 to your computer and use it in GitHub Desktop.
Checking whether the PLT .n2o_dialyzer.plt is up-to-date... yes
Proceeding with analysis...
element_dropdown.erl:14: The pattern {'button', _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _} can never match the type #dropdown{}
n2o_cowboy.erl:27: Function cookie/3 has no local return
n2o_cowboy.erl:27: The call n2o_cowboy:cookie(Cookie::any(),Value::any(),"/",0,Req::any()) will never return since it differs in the 3rd argument from the success typing arguments: (binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary(),non_neg_integer(),cowboy_req:req())
n2o_cowboy.erl:31: Function delete_cookie/2 has no local return
n2o_cowboy.erl:31: The call n2o_cowboy:cookie(Cookie::any(),[],"/",0,Req::any()) will never return since it differs in the 3rd argument from the success typing arguments: (binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary(),non_neg_integer(),cowboy_req:req())
n2o_cowboy_rest.erl:18: Matching of pattern <Req, State = {'st', _, 'undefined'}> tagged with a record name violates the declared type of #st{resource_module::atom(),resource_id::binary()}
n2o_cowboy_rest.erl:21: Matching of pattern <Req, State = {'st', _, 'undefined'}> tagged with a record name violates the declared type of #st{resource_module::atom(),resource_id::binary()}
n2o_cowboy_rest.erl:32: The pattern 'undefined' can never match the type binary()
n2o_cowboy_rest.erl:43: The pattern 'undefined' can never match the type binary()
n2o_cowboy_rest.erl:65: The pattern {'true', 'undefined'} can never match the type {_,binary()}
n2o_cowboy_rest.erl:85: The pattern <_Mod, 'undefined', 'true', 'undefined'> can never match the type <atom(),binary(),_,_>
n2o_cowboy_rest.erl:86: The pattern <_Mod, 'undefined', 'true', <<>>> can never match the type <atom(),binary(),_,_>
n2o_cowboy_rest.erl:87: The pattern <Mod, 'undefined', 'true', NewId> can never match the type <atom(),binary(),_,_>
n2o_session.erl:14: Guard test is_list(A::binary()) can never succeed
n2o_session.erl:26: The pattern 'true' can never match the type 'false'
routes.erl:3: Callback info about the route_handler behaviour is not available
users.erl:2: Callback info about the n2o_rest behaviour is not available
wf.erl:106: Function delete_cookie/2 has no local return
wf.erl:139: Call to missing or unexported function wf_render_actions:to_js_id/1
wf.erl:147: The call wf:config(Key::any(),[]) will never return since it differs in the 2nd argument from the success typing arguments: (atom(),atom())
Unknown functions:
mochinum:digits/1
done in 0m21.12s
done (warnings were emitted)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment