Implicit cast primitive type construction

ryuukk_ ryuukk.dev at gmail.com
Fri Oct 11 06:28:21 UTC 2024


On Thursday, 10 October 2024 at 18:58:51 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> Integer promotion rules, these have been argued plenty, you'll 
> want to look at the history on the N.G. for why they exist the 
> way that they do.

Now that i know how it's called i could check the documentation, 
thanks

Here the link for future readers: 
https://dlang.org/spec/type.html#integer-promotions

I think the error message could be improved to mention what it 
actually is then



More information about the dip.ideas mailing list