Hrm, in master we have changed __impl__(:protocol) to return just the protocol name. So I am assuming we simply want instead:

    child.type == :impl and child.module.__impl__(:protocol) == module

No?