After checkout master and run mix dialyzer on local machine I get these errors:
lib/teiserver/libs/test_lib.ex:124:unknown_function
Function ExUnit.Callbacks.on_exit/1 does not exist.
________________________________________________________________________________
lib/teiserver_web/controllers/api/spads_controller.ex:221:unknown_type
Unknown type: T.lobby/0.
________________________________________________________________________________
lib/teiserver/account/libs/user_lib.ex:361:no_return
Function can_login/1 has no local return.
________________________________________________________________________________
lib/teiserver_web/controllers/account/session_controller.ex:102:pattern_match
The pattern can never match the type.
Pattern:
{:ok, _user}, _conn
Type:
{:error, <<_::152>>}, _
________________________________________________________________________________
lib/teiserver_web/controllers/api/spads_controller.ex:219:pattern_match
The pattern can never match the type.
Pattern:
nil
Type:
[any()] | integer()
________________________________________________________________________________
lib/teiserver_web/live/account/profile/overview.ex:294:pattern_match
The pattern can never match the type.
Pattern:
:ok
Type:
{:error, binary()}
________________________________________________________________________________
lib/teiserver_web/live/account/profile/overview.ex:315:pattern_match
The pattern can never match the type.
Pattern:
true
Type:
{:failure, binary()}
________________________________________________________________________________
lib/teiserver_web/live/account/profile/overview.ex:320:unused_fun
Function join_lobby/2 will never be called.
________________________________________________________________________________
done (warnings were emitted)
After checkout master and run
mix dialyzer
on local machine I get these errors: