-
Notifications
You must be signed in to change notification settings - Fork 88
Universal quantification semantics for Length and Angle #8103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
CodSpeed Instrumentation Performance ReportMerging #8103 will degrade performances by 13.78%Comparing Summary
Benchmarks breakdown
Footnotes |
ad48c6a
to
032abd1
Compare
Signed-off-by: Nick Cameron <[email protected]>
After some discussion with Jon and some more thought, I don't think we should land this as is. I think it is essentially the right solution for the |
See also #7837 (this is an alternate solution).
The practical effect of this is that you can use
number(Length)
in a type ascription expression within a function and if it is also used as a parameter type, then that is treated as a concrete cast at runtime. It also means that if used in both a parameter type and the return type, then they will have the same units (rather than the return type having arbitrary units).