Assert failed in TextSpan.fromBounds
Fixed the representation of numeric enum identifiers.

Previously, if `1.0` was entered as an identifier for an enum, its string
representation would be "1.0" instead of "1".

Desired behavior calls a simplified representation, and for identifiers such as `1`, `1.0`, and `0.1e1` to not be treated distinctly.