change/linguist

Mix compile error

Closed this issue · 6 comments

I'm on OSX and when I try to compile linquist mix do compile I get an error.

Compiled lib/linguist/vocabulary.ex
Compiled lib/linguist/compiler.ex

== Compilation error on file lib/linguist.ex ==
** (CompileError) lib/linguist.ex:4: bad integer type
    (stdlib) lists.erl:1336: :lists.foreach/2
    (stdlib) erl_eval.erl:657: :erl_eval.do_apply/6
    (elixir) src/elixir.erl:175: :elixir.erl_eval/3
    (elixir) src/elixir.erl:175: :elixir.erl_eval/3
elixir --version                                                                                          ⏎
Elixir 0.15.1

I am also looking into this since I'm learning elixir and will update the issue if I find anything out or have a pr.

Hmm. I can't recreate locally with Elixir 0.15.1. As a sanity check, can you make sure you've pulled from master, mix clean and mix test to see if it's an odd compile issue?

Ya Just did and I sill get the same error. I also get the same error when I try to compile Phoenix.

erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().'  -noshell                           ⏎
"18"

I'm on 17. Perhaps related?

Can you try 17? I don't think erl 18 is even officially released yet, right?

Ya I just installed 17 and it worked fine. I had --devel with homebrew installed because at one point I needed it for latest elixir. Don't need it anymore so I don't need devel.

Gotcha. We'll wait for the official 18 release since it's likely an internal issue somewhere. Glad you're up and running!