Comment Comment by halpmeh The issue with this type of promotion is that you usually want to preserve the type. Like if I add two int32s, I probably want an int32 as a result.A cooler feature would be requiring the compiler to prove the addition wouldn’t overflow. parent halpmeh 3 years ago
A cooler feature would be requiring the compiler to prove the addition wouldn’t overflow.