Closed dmilith closed 6 years ago
After few clicks of investigation I've notices it's caused by this block of code: https://github.com/meh/amnesia/blob/master/lib/amnesia/table/definition.ex#L938-L940
Making a tuple there works:
unless Kernel.Typespec.defines_type?(__MODULE__, {:t, 0}) do
@opaque t :: %__MODULE__{}
end
as commited in https://github.com/meh/amnesia/commit/3dc0cdcbf8af263d1d784758037ce50291fccc37
It's not present in "master" tho?
Ok, did remove mix.lock, added this to mix.exs:
{:amnesia, github: "meh/amnesia", branch: "master", override: true},
{:exquisite, github: "meh/exquisite", branch: "master", override: true},
And problem solved! ;)
Happens in two of my projects after upgrading backend Elixir to 1.7.3.
My model.ex: https://github.com/VerKnowSys/Yst/blob/master/lib/data/model.ex