[perl #130404] [OPTIMIZER] || with native int returns "1" instead of the int's value

2017-07-15 Thread Zoffix Znet via RT
Tests in https://github.com/perl6/roast/commit/b1f116fdd5181274cda1a520194488da82c10a7e

[perl #130404] [OPTIMIZER] || with native int returns "1" instead of the int's value

2017-07-15 Thread Zoffix Znet via RT
Tests in https://github.com/perl6/roast/commit/b1f116fdd5181274cda1a520194488da82c10a7e

[perl #130404] [OPTIMIZER] || with native int returns "1" instead of the int's value

2017-07-15 Thread Jan-Olof Hendig via RT
On Sun, 25 Dec 2016 09:50:17 -0800, c...@zoffix.com wrote: > zoffix@VirtualBox:~$ perl6 -e 'my int $x = 4; say $x || 2' > 1 > zoffix@VirtualBox:~$ perl6 --optimize=off -e 'my int $x = 4; say $x || > 2' > 4 > zoffix@VirtualBox:~$ perl6 -v > This is Rakudo version 2016.11-182-gea28845 built on

[perl #130404] [OPTIMIZER] || with native int returns "1" instead of the int's value

2016-12-25 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130404] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130404 > zoffix@VirtualBox:~$ perl6 -e 'my int $x = 4; say $x || 2'