coc-elixir icon indicating copy to clipboard operation
coc-elixir copied to clipboard

Umbrella project: error in compilation

Open hissssst opened this issue 5 years ago • 2 comments

Problem

Umbrella app with compilation error Project structure:

my_project
├── apps
│   ├── my_in_umbrella_project
... ...
├── mix.exs
...

Desired behaviour

Show compilation error in file

Actual behaviour

In /mix.exs : [ElixirLS] [E] Build failed for unknown reason. See output log.

CocInfo output

## Output channel: elixir

Started ElixirLS Fork v0.3.0
Elixir version: "1.10.2 (compiled with Erlang/OTP 21)"
Erlang version: "22"
Compiling with Mix env test

== Compilation error in file lib/my_in_umbrella_project/file.ex ==
** (CompileError)  Some compilation error
    lib/my_in_umbrella_project/file.ex: (module)
    (stdlib 3.12.1) erl_eval.erl:680: :erl_eval.do_apply/6

hissssst avatar Apr 28 '20 16:04 hissssst

Can you make sample repo which is reproducing this?

amiralies avatar Apr 28 '20 16:04 amiralies

I am sorry, I can't. This happens in my working repo, and I can't make the code public

hissssst avatar Apr 29 '20 10:04 hissssst