Closed ishitatsuyuki closed 6 years ago
@ishitatsuyuki It is supposed to be returning a tuple.
{Module, something}.function
always was an appropriate function call to Module.function({Module, something}
I hope they didn't remove that from Elixir 1.6.6 (or Erlang 21). I'll investigate what's the cause
It looks like Erlang 21 removes tuple calls. That means we're gonna need a redesign in how Elchemy is initiated
@ishitatsuyuki A temporary fix for that would be to use
@compile :tuple_calls
in the Mix module
Yeah tuple calls were deprecated in OTP 20, disabled in OTP 21 requiring a switch to re-activate, and is expected to be entirely removed sometime later, it has indeed saddened me...
I'm a beginner on Elixir. After modifying the code according to the tutorial:
In
iex
:It's returning a tuple, which doesn't seem to match what we expect.