3 ms·
The type checker is capable of disallowing `float + int` while still allowing `int + int` and `float + float`, which is what I want.
by kcorbitt 9y ago
The type checker is capable of disallowing `float + int` while still allowing `int + int` and `float + float`, which is what I want.
- renox 9y agoWhy? As long as float -> int implicit conversion are forbidden, I don't see any issue with allowing implicit int -> float conversion.