Closed MrYawe closed 3 weeks ago
With elixir 1.17 and OTP 27, mix test will fail with the following error:
mix test
==> abacus Compiling 3 files (.erl) src/new_parser.yrl:54:7: syntax error before: 'else' % 54| {'else', '$5'} % | ^ src/new_parser.erl:819:13: function yeccpars2_46_/1 undefined % 819| NewStack = yeccpars2_46_(Stack), % | ^ src/new_parser.yrl:71:2: inlined function yeccpars2_46_/1 undefined % 71| expr -> expr '/' expr : {'/', [], ['$1', '$3']}. % | ^ could not compile dependency :abacus, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile abacus --force", update it with "mix deps.update abacus" or clean it with "mix deps.clean abacus"
I've submitted a pr to abacus https://github.com/narrowtux/abacus/pull/27 to fix it. Abacus requirements will need to be upgraded once it's released.
In the meantime, you can try the fix by using this in mix.exs:
mix.exs
{:abacus, github: "MrYawe/abacus"},
With elixir 1.17 and OTP 27,
mix test
will fail with the following error:I've submitted a pr to abacus https://github.com/narrowtux/abacus/pull/27 to fix it. Abacus requirements will need to be upgraded once it's released.
In the meantime, you can try the fix by using this in
mix.exs
: