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
On a fairly large project (170K lines of Elixir code), I've been experimenting with adding Expert in order to upgrade us to the latest Elixir versions.
After adding Expert and forcing a full compile and build of the project, deps, and indexes, I am receiving hundreds of the following error (MFAs are anonymized since this is in our production codebase):
MyApp.MyProtocol.function/1isundefined(moduleMyApp.MyProtocolisnotavailableorisyettobedefined).Did you mean:*MyApp.MyProtocol.function/1
More information to assist in debugging:
Elixir version 1.19.5
Erlang version 28.3
MyApp.MyProtocol is aliased at the top of the file (alias MyApp.MyProtocol) so the code that is causing the warning is MyProtocol.function(xxx)
When I force a save within this file, it removes the warning, however if I move to a different file and then force a save in that file, the warning comes back
I have consolidate_protocols: Mix.env() not in [:dev, :test] set in the mix.exs.