Issue 9406 - (Regression: 2.061) Stack overflow from a forward reference error

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