The shift operators for nint and nuint should mask the number of bits to shift - to 5 bits if sizeof(nint) is 4, and to 6 bits if sizeof(nint) is 8.
[jcouv:] When fixing this, we'll want to include a test for >>> as well (new feature added in meantime).
The shift operators for
nintandnuintshould mask the number of bits to shift - to 5 bits ifsizeof(nint)is 4, and to 6 bits ifsizeof(nint)is 8.[jcouv:] When fixing this, we'll want to include a test for
>>>as well (new feature added in meantime).