Hi,
I guess I do not understand how ElixirLS works.
Test code:
defmodule MyApp do
def hello do
default(1)
end
@spec default(binary) :: binary
def default(bin) when is_binary(bin) do
"test #{bin}"
end
end
Output:
Started ElixirLS v0.7.0
Elixir version: "1.12.1 (compiled with Erlang/OTP 24)"
Erlang version: "24"
ElixirLS compiled with Elixir 1.8.2 and erlang 21
Now I understand that there is a version mismatch but the vscode extension comes with precompiled beam files, so how could the version be the same?
Dialyzer (ran with dialyxir) succesfully reports the error, but ElixirLS is not showing the yellow vvvvvv. It should show that Function hello/0 has no local return.
What should I check now to make it work?