fix issue 10744 - Rejects valid interface inheritance + wrong error
message
Merge pull request #2451 from hpohl/10744

[REG2.064a] fix issue 10744 - Rejects valid interface inheritance + wrong error message