[erlang-questions] Dialyzer, Callback info about the behaviour is not available
Sat Jan 7 00:41:57 CET 2012
My exact point being your statement:
"the developers of cowboy need to adapt its code"
No they don't. Nor should they ever have to.
I am concerned that this is the thin end of a very large wedge.
On Jan 5, 8:01 am, Kostis Sagonas <> wrote:
> On 01/05/12 15:43, Steve Davis wrote:
> > Hmmmmm....
> Your point being what exactly?? That because specs are optional,
> dialyzer should not produce warnings when finding behaviour modules
> without callbacks? Running dialyzer is also optional...
> > On Jan 5, 4:40 am, Kostis Sagonas<> wrote:
> >> To avoid this warning the developers of
> >> cowboy need to adapt its code so that it contains -callback attributes
> >> instead of a behaviour_info/1 function. (This function will be generated
> >> automatically if callback attributes are present.) But of course this
> >> will mean that cowboy will require R15B. Until this change is done, you
> >> can either create your own version of this module with proper callback
> >> information in it, or use the -Wno_behaviours command line option of
> >> dialyzer.
> >> Kostis
> >> _______________________________________________
> >> erlang-questions mailing list
> >> ://erlang.org/mailman/listinfo/erlang-questions
> > _______________________________________________
> > erlang-questions mailing list
> erlang-questions mailing list
More information about the erlang-questions