Skip to content

Enforce unit and dimension type safety - #6

Merged
nodivbyzero merged 1 commit into
mainfrom
enforce-unit-dimension-type-safety
Oct 14, 2026
Merged

nodivbyzero merged 1 commit into
mainfrom
enforce-unit-dimension-type-safety

Conversation

@nodivbyzero

Copy link
Copy Markdown
Owner

Description

  • Tie Unit[D] to its dimension through Dimension() D.
  • Prevent cross-dimension conversions and formatting at compile time.
  • Update custom-unit documentation and tests.
  • Verify the corrected API with the full test suite.

@nodivbyzero
nodivbyzero merged commit 9c01c1c into main Oct 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant