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

http://d.puremagic.com/issues/show_bug.cgi?id=10744