No longer crashes when generating a const.