Implementations like this
defmodule DancingDots.Flicker do
alias DancingDots.Dot
alias DancingDots.Animation
use Animation
@impl Animation
def handle_frame(%Dot{} = dot, frame_number, opts) do
end
end
ends with recommendation:
Don't forget to annotate all the callback implementations with @impl DancingDots.Animation.
But the compiler seems happy with it. I don't see in the documentation if aliases are allowed in @impl attribute and I'm not sure how to test it.