bitwalker / distillery

Simplify deployments in Elixir with OTP releases!
MIT License
2.96k stars 396 forks source link

Fix compilation error #666

Closed jesseshieh closed 5 years ago

jesseshieh commented 5 years ago

Fixes

$ mix test
.....................warning: variable "err" does not exist and is being expanded to "err()", please use parentheses to remove the ambiguity or change the variable name
  test/cases/integration_test.exs:263

...............................................................................
OK, passed 100 tests
.
== Compilation error in file test/cases/integration_test.exs ==
** (CompileError) test/cases/integration_test.exs:263: undefined function err/0
    (elixir) src/elixir_locals.erl:107: :elixir_locals."-ensure_no_undefined_local/3-lc$^0/1-0-"/2
    (elixir) src/elixir_locals.erl:107: anonymous fn/3 in :elixir_locals.ensure_no_undefined_local/3
    (stdlib) erl_eval.erl:677: :erl_eval.do_apply/6
    (elixir) lib/code.ex:767: Code.require_file/2
    (elixir) lib/kernel/parallel_compiler.ex:211: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6
bitwalker commented 5 years ago

Thanks!