--Hello,given the files `xx.ex` and `yy.ex` defined asdefmodule XX do
defstruct [:field]
enddefmodule YY do
defdelegate __struct__, to: XX
defdelegate __struct__(x), to: XX
endwhy doesiex(1)> %XX{} == XX.__struct__()
trueandiex(2)> %YY{} == YY.__struct__()
false?It seems that %Mod{} is not equivalent to Mod.__struct__().What does %Mod{} really do?ThanksMário
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/0a942906-d08a-48fc-84a9-e80d19b048f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.