You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KyLeggiero
changed the title
Pre-release doesn't behave per spec: numeric identifiers MUST NOT include leading zeroes.
Major, Minor, Patch, & Pre-Release identifiers doesn't behave per spec: these numeric identifiers MUST NOT include leading zeroes.
Oct 11, 2021
According to the spec:
However,
SemVer(1,0,0, preRelease: "01")
andSemVer("01.02.03")
are allowed; it should result innil
, but instead it initializes just fine.When fixing, this restriction should also apply to mutating the pre-release.
The text was updated successfully, but these errors were encountered: