4 ms·
This is obvious why it is invalid, 0 doesn't have an associated unit so the compiler doesn't understand.
by mike_tempest 4y ago
This is obvious why it is invalid, 0 doesn't have an associated unit so the compiler doesn't understand.
- chownie 4y agoIt accepts unitless zero in other contexts, which makes this scenario a lot less obvious