# New Ticket Created by Juerd Waalboer
# Please include the string: [perl #127144]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=127144 >
Bug:
> my uint8 $x = 255; print $x, " -> "; $x = $x + 1; say $x;
255 -> 0
Work as expected:
> my uint8 $x = 256; say $x
0
> my uint8 $x = 255; print $x, " -> "; $x = $x + 1; say $x;
255 -> 0
> my int8 $x = 127; print $x, " -> "; $x++; say $x;
127 -> -128
I'd like to contribute tests for this; where in roast should I put them?
Please suggest a filename :-)
--
Met vriendelijke groet, // Kind regards, // Korajn salutojn,
Juerd Waalboer <[email protected]>
TNX