fix issue 10359 - ICE on printing ClassReferenceExp