使用dialyzer遇到的有关问题

使用dialyzer遇到的问题
1. 对自定义behaviour的警告
有洁癖的可能无法忍受这种警告,
Callback info about the my_module behaviour is not available
只能加这个参数
-Wno_undefined_callbacks

dialyzer --src ./src -Wno_undefined_callbacks 


参考:
http://comments.gmane.org/gmane.comp.lang.erlang.general/58259

2. 参数化模块的警告
暂时没有办法
只能去掉spec了,或者以注释的方式,或者每个fun的spec前加一个any()类型

参考
http://article.gmane.org/gmane.comp.lang.erlang.general/58586/match=dialyzer+parameterize+module