Re:Swift: Madness of Generic Integer
by tacos on Tuesday March 03, 2015 @06:53PM
(#9141662)
But they do not support a common right-bitshift operation, nor sign extend. Which is what both the compiler and the poster above you are trying to make clear.
[ Parent
| on HN ]
Interface providing generic left-shift doesn't have to provide right-shift at the same time. And after the shift, what the compiler is complaining about is not the arithmetics but only type construction.