fix issue 7883 - Compiler segfaults with double inheritance and function contract

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