Created
July 11, 2016 19:09
-
-
Save aphillipo/b015ca2518434e56b98ed9e87d59dc22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Compilation error on file test/support/factory.ex == | |
** (ArgumentError) argument error | |
(stdlib) erl_anno.erl:318: :erl_anno.set(:file, 'nofile', -1) | |
(stdlib) erl_parse.yrl:1516: anonymous fn/3 in :erl_parse.map_anno/2 | |
(stdlib) erl_parse.yrl:1631: :erl_parse.modify_anno1/3 | |
(stdlib) erl_parse.yrl:1517: :erl_parse.map_anno/2 | |
(stdlib) erl_lint.erl:703: :erl_lint."-set_file/2-lc$^0/1-0-"/2 | |
(stdlib) erl_lint.erl:448: :erl_lint.exprs_opt/3 | |
(stdlib) erl_eval.erl:173: :erl_eval.check_command/2 | |
I've exact the same issue. I can't see any error within my test/support/factory.ex. What I did some days ago, I upgraded my elixir installation from v1.3 to v1.3.3 and therefore Erlang/OTP from version 18 to 19.
Update: I upgraded my ex_machina version from "> 0.6" to "> 1.0" and refactored my tests. Now it works.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
Did you solve that error? I'm happening to see the same thing when trying to compile https://github.com/absinthe-graphql/absinthe_example
Cheers!