Behaviours, defoverridable and implementations

Maybe I misunderstood, but wasn’t the warning supposed to be about a mismatch in arity? If a behaviour exposes the optional callbacks foo/1 and bar/2, and I put an @impl true in front of my foo/1 and I have a bar/3, what would happen?

2 Likes