PR/28 made emitLastEnumValue private

which is now used internally by emitEnumValues