You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm noticing this issue after upgrading to Elixir 1.12.3 -> 1.13.4 and Phoenix 1.6.6 -> 1.6.10 when I run the following:
$ mix xref trace lib/ros/accounts/user.ex
> warning: the Inspect protocol has already been consolidated, an implementation forRos.Accounts.User has no effect. If you want to implement protocols after compilation or during tests, check the "Consolidation" sectionin the Protocol module documentation
lib/ros/accounts/user.ex:11: Ros.Accounts.User (module)
Elixir and Erlang/OTP versions
Elixir 1.13.4 (compiled with Erlang/OTP 24)
Operating System
MacOS 12.4
Current behavior
I'm noticing this issue after upgrading to Elixir
1.12.3 -> 1.13.4
and Phoenix1.6.6 -> 1.6.10
when I run the following:The referenced code looks like this:
I've read the Consolidation section and it's unclear to me if this is an actual issue or if I can safely ignore it.
Expected behavior
It was mentioned here that this is safe, but that we should either document this warning or update
mix trace
to avoid this warning.The text was updated successfully, but these errors were encountered: