fix issue 10744 - Rejects valid interface inheritance + wrong error
message