ma2gedev / power_assert_ex

Power Assert in Elixir. Shows evaluation results each expression.
https://github.com/ma2gedev/power_assert_ex
Other
214 stars 6 forks source link

compilation error on Erlang 19 #7

Closed ma2gedev closed 7 years ago

ma2gedev commented 7 years ago

mix test on Erlang 19 caught the following error:

** (CompileError) test/power_assert_test.exs: internal error in lint_module;
crash reason: badarg
  in function  erl_anno:anno_info/1
     called as erl_anno:anno_info(-1)
  in call from erl_lint:loc/2 (erl_lint.erl, line 640)
  in call from erl_lint:icrt_export/4 (erl_lint.erl, line 3094)
  in call from erl_lint:icrt_clauses/4 (erl_lint.erl, line 3076)
  in call from erl_lint:expr/3 (erl_lint.erl, line 2168)
  in call from erl_lint:exprs/3 (erl_lint.erl, line 2100)
  in call from erl_lint:icrt_clause/3 (erl_lint.erl, line 3090)
  in call from lists:mapfoldl/3 (lists.erl, line 1354)
  in call from erl_lint:icrt_clauses/4 (erl_lint.erl, line 3075)
  in call from erl_lint:expr/3 (erl_lint.erl, line 2168)
  in call from erl_lint:expr/3 (erl_lint.erl, line 2306)
  in call from erl_lint:exprs/3 (erl_lint.erl, line 2100)
  in call from erl_lint:exprs/3 (erl_lint.erl, line 2101)
  in call from erl_lint:clause/2 (erl_lint.erl, line 1423)
  in call from erl_lint:'-clauses/2-fun-0-'/2 (erl_lint.erl, line 1412)
  in call from lists:foldl/3 (lists.erl, line 1263)
  in call from erl_lint:forms/2 (erl_lint.erl, line 658)
  in call from erl_lint:module/3 (erl_lint.erl, line 506)
  in call from compile:lint_module/1 (compile.erl, line 1039)
  in call from compile:'-internal_comp/4-anonymous-1-'/2 (compile.erl, line 329)
    (stdlib) lists.erl:1338: :lists.foreach/2
    (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
    (stdlib) erl_eval.erl:122: :erl_eval.exprs/5
    (elixir) lib/code.ex:370: Code.require_file/2
    (elixir) lib/kernel/parallel_require.ex:57: anonymous fn/2 in Kernel.ParallelRequire.spawn_requires/5