On Fri, 07 Apr 2017 19:16:17 -0700, alex.jakime...@gmail.com wrote:
> This no longer prints 256.
>
> Bisectable points to
> https://github.com/rakudo/rakudo/commit/5401a1aa8f12c360ccd3e4000dcdc65ad98c746a
>
> Is it actually resolved or not?
>
> I will mark it testneeded for now (if it's not reso
Brian S. Julin via RT skribis 2016-01-03 15:37 (-0800):
> S02-types/native.t would seem a ood place for testing scalar sized uints.
Thanks. Unfortunately, I couldn't easily figure out how to write TODO
tests. So here's something that someone could copy and paste:
# RT #127144, uint increment
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
Just speculating, but I think this can be fixed by codegen; to be specific,
the inc_i op should be followed by a truncate in case of a sized variable.
2016-01-04 11:37 GMT+01:00 Elizabeth Mattijsen :
> > On 04 Jan 2016, at 00:25, Juerd Waalboer (via RT) <
> perl6-bugs-follo...@perl.org> wrote:
>
> On 04 Jan 2016, at 00:25, Juerd Waalboer (via RT)
> wrote:
>
> # New Ticket Created by Juerd Waalboer
> # Please include the string: [perl #127144]
> # in the subject line of all future correspondence about this issue.
> # https://rt.perl.org/Ticket/Display.html?id=127144 >
>
>
> Bug:
>
> On 04 Jan 2016, at 00:25, Juerd Waalboer (via RT)
> wrote:
>
> # New Ticket Created by Juerd Waalboer
> # Please include the string: [perl #127144]
> # in the subject line of all future correspondence about this issue.
> # https://rt.perl.org/Ticket/Display.html?id=127144 >
>
>
> Bug:
>
# New Ticket Created by Juerd Waalboer
# Please include the string: [perl #127144]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127144 >
Bug:
> my uint8 $x = 255; print $x, " -> "; $x = $x + 1; say $x;
255 -> 0
Wor