Issue 8631 - illegal overrides accepted

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