Issue 8698 - Forward reference error with interfaces

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