Open
Description
Hi, something I spotted when trying to run on one of my toy projects:
I'm using gen_state_machine and depending on a module variant I pass to my machine it uses different logic.
mix_unused catches all my defstruct definitions and delegates as unused:
defdelegate fetch(term, key), to: Map
defdelegate get(term, key, default), to: Map
defdelegate get_and_update(term, key, fun), to: Map
defstruct @valid_moves
hint: %Score{} is unused
lib/variants/score.ex:110
hint: Score.fetch/2 is unused
lib/variants/score.ex:107
hint: Score.get/3 is unused
lib/variants/score.ex:108
hint: Score.get_and_update/3 is unused
lib/variants/score.ex:109