src: Allow promoted numeric literals in types.