Behaviour module has been deprecated in Elixir 1.4
smetana opened this issue · 2 comments
smetana commented
warning: the Behaviour module is deprecated. Instead of using this module, use the @callback and @macrocallback module attributes. See the documentation for Module for more information on these attributes
lib/porcelain/drivers/driver_common.ex:4: (module)
(elixir) src/elixir_compiler.erl:125: :elixir_compiler.dispatch_loaded/6
(elixir) src/elixir_module.erl:191: :elixir_module.eval_form/6
(elixir) src/elixir_module.erl:71: :elixir_module.do_compile/5
(stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
ashleyconnor commented
Closed by 01e8462
quatermain commented
Still some issues with Elixir 1.5.2:
warning: the Behaviour module is deprecated. Instead of using this module, use the @callback and @macrocallback module attributes. See the documentation for Module for more information on these attributes
lib/porcelain/drivers/driver_common.ex:4: (module)
(elixir) src/elixir_compiler.erl:85: :elixir_compiler.dispatch/6
(elixir) src/elixir_module.erl:238: :elixir_module.eval_form/6
(elixir) src/elixir_module.erl:80: :elixir_module.compile/5
(stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
warning: String.to_char_list/1 is deprecated, use String.to_charlist/1
lib/porcelain.ex:405
warning: Atom.to_char_list/1 is deprecated, use Atom.to_charlist/1
lib/porcelain.ex:408
warning: String.to_char_list/1 is deprecated, use String.to_charlist/1
lib/porcelain.ex:412
warning: variable "result" is unused
lib/porcelain/drivers/driver_common.ex:165
warning: String.to_char_list/1 is deprecated, use String.to_charlist/1
lib/porcelain/init.ex:78