fix issue 10390 - ICE on printing ClassReferenceExp

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