That highlights the bug:

m: my uint8 $x = 255; print $x, " -> "; $x = $x + 1; say $x;
rakudo-moar 0f26ae: OUTPUT«255 -> 0␤»

m: my uint8 $x = 255; print $x, " -> "; $x++; say $x;
rakudo-moar 0f26ae: OUTPUT«255 -> 256␤»

Am 04.01.2016 um 11:48 schrieb Elizabeth Mattijsen:
On 04 Jan 2016, at 00:25, Juerd Waalboer (via RT) 
<perl6-bugs-follo...@perl.org> wrote:

# 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
What is the bug here???  Looks to me it’s entirely doing what is expected?



Liz

Reply via email to