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
Rename Quantity properties to lowerCamelCase; restore description
Addresses review feedback on the enum -> struct change:
- Rename the static dimension properties to lowerCamelCase (.length, .mass,
...) per the Swift API Design Guidelines. The former PascalCase names are
kept as @available(*, deprecated, renamed:) aliases so existing call sites
keep compiling; they can be removed in a future major release. Internal
call sites and tests now use the new names.
- Add CustomStringConvertible returning rawValue, restoring the enum's
behavior where "\(Quantity.length)" prints "Length" rather than the
synthesized struct description.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments