我的电脑上安装了Elixir1.7.2,使用
asdf
,elixir和erlang otp 21
dialyzer github
{:dialyxir, "~> 1.0.0-rc.3", only: [:dev], runtime: false}
mix dialyzer
Could not get Core Erlang code for: /home/sigu/.asdf/installs/elixir/1.7.2/lib/elixir/ebin/elixir_parser.beam
Recompile with +debug_info or analyze starting from source code Could not get Core Erlang code for: /home/sigu/.asdf/installs/elixir/1.7.2/lib/logger/ebin/Elixir.Logger.ErlangHandler.beam
然后所有操作都会失败,并出现错误,包括elixir内置的函数,如
System.get_env/1
:0:unknown_function
Function System.get_env/1 does not exist.