[perl #130431] [REGRESSION] Subclassing an Int no longer works flawlessly (my Foo $a .= new(42))

2016-12-29 Thread Zoffix Znet via RT
On Wed, 28 Dec 2016 18:58:00 -0800, alex.jakime...@gmail.com wrote: > Code: > class Mebibytes is Int { method Str { (self/1024/1024).Int ~ "M" } }; > my Mebibytes $a .= new(183456783); $a.say; # fancy enough? > > > Result (2016.09): > 174M > > > Result (HEAD): > Type check failed in assignment

[perl #130427] Rat.Range includes Infs when it shouldn't (Rat.Range)

2016-12-29 Thread Zoffix Znet via RT
Tests added in https://github.com/perl6/roast/commit/99f7d695a6

[perl #130436] [REGRESSION] .rotor no longer accepts Infs (@a.rotor: 3, Inf, :partial)

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130436] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130436 > Code: my @a = ‘a’..‘e’; say @a.rotor(3, Inf, :partial) Result (2015

[perl #130437] [RFC] Ranges with Infs on endpoints could be smarter ((0..Inf)[99999999999])

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130437] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130437 > Consider this code: say (0..9)[99] Result: 9

[perl #130438] [REGRESSION] permutations sub no longer works with numbers over 20 (say permutations(50).elems)

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130438] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130438 > Code: say permutations(50).elems Result (2015.12,2016.08): 30414093

[perl #130439] [REGRESSION] splice no longer attempts to numify things (@a.splice: ^3)

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130439] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130439 > Code: my @a = ; say @a.splice: ^3 Result (2015.12,2016.07.1): [d e f

[perl #130440] [REGRESSION] .pairs elements of the shaped array are no longer writable (for @a.pairs -> $p { $p.value = 42 })

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130440] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130440 > Code: my @a[3;3]; for @a.pairs -> $p { $p.value = $++ }; say @a.perl

[perl #130441] [REGRESSION] HyperWhatever can no longer be used to process a list ( (--**)(1,2,3,4,5) )

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130441] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130441 > Code: say (--**)(1,2,3,4,5) Result (2015.12,2016.06): (0 1 2 3 4)

[perl #130439] [REGRESSION] splice no longer attempts to numify things (@a.splice: ^3)

2016-12-29 Thread Zoffix Znet via RT
FWIW, my math[^1] suggests with current system we'd need 22 more candidates to handle Cool, bringing the total to 52 candidates. IMO Cool candidates are important to have, perhaps we can de-optimize something that won't have a huge performance hit, while reducing the candidates to saner levels?

[perl #130442] [REGRESSION] [LTA] redo without a loop no longer prints the line number, also claims it is a compile-time error (redo)

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130442] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130442 > Code: say 42; redo Result (2015.12,2016.05): 42 redo without loop c

[perl #130443] [REGRESSION] [LTA] Trying to put an infinite range into a native array no longer throws (my int @a = ^Inf)

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130443] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130443 > Code: my int @a = ^Inf; dd @a Result (2015.12,2016.02): This type c

[perl #130443] [REGRESSION] [LTA] Trying to put an infinite range into a native array no longer throws (my int @a = ^Inf)

2016-12-29 Thread Zoffix Znet via RT
The problem is the operator returns a failure, but since we're assigning it doesn't get sunk and so is silent. I see 16 fail()s in src/core/native_array.pm and I'm unsure what the best way to do this (lizmat, any idea?) Along with the silent one for STORE, the .splice ones also explode prematur

Re: [perl #130443] [REGRESSION] [LTA] Trying to put an infinite range into a native array no longer throws (my int @a = ^Inf)

2016-12-29 Thread Brandon Allbery
On Thu, Dec 29, 2016 at 1:43 PM, Zoffix Znet via RT < perl6-bugs-follo...@perl.org> wrote: > I see 16 fail()s in src/core/native_array.pm and I'm unsure what the best > way to do this (lizmat, any idea?) > Is this making moritz's point on IRC yesterday? 2016 Dec 28 18:39:27 I think fail() was a

[perl #130438] [REGRESSION] permutations sub no longer works with numbers over 20 (say permutations(50).elems)

2016-12-29 Thread Zoffix Znet via RT
On Thu, 29 Dec 2016 07:53:28 -0800, alex.jakime...@gmail.com wrote: > Code: > say permutations(50).elems > > > Result (2015.12,2016.08): > 30414093201713378043612608166064768844377641568960512 > > Result (2016.09,2016.10,2016.11): > 1 > > Result (2016.12,HEAD): > Cowardly refusing t

Re: [perl #130440] [REGRESSION] .pairs elements of the shaped array are no longer writable (for @a.pairs -> $p { $p.value = 42 })

2016-12-29 Thread Elizabeth Mattijsen
Fixed with dc7b688 , tests needed. > On 29 Dec 2016, at 17:32, Aleks-Daniel Jakimenko-Aleksejev (via RT) > wrote: > > # New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev > # Please include the string: [perl #130440] > # in the subject line of all future correspondence about this issue.

Re: [perl #130443] [REGRESSION] [LTA] Trying to put an infinite range into a native array no longer throws (my int @a = ^Inf)

2016-12-29 Thread Elizabeth Mattijsen
Fixed with aa35065, tests needed. > On 29 Dec 2016, at 18:33, Aleks-Daniel Jakimenko-Aleksejev (via RT) > wrote: > > # New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev > # Please include the string: [perl #130443] > # in the subject line of all future correspondence about this issue.

[perl #130443] [REGRESSION] [LTA] Trying to put an infinite range into a native array no longer throws (my int @a = ^Inf)

2016-12-29 Thread Zoffix Znet via RT
On Thu, 29 Dec 2016 10:47:39 -0800, allber...@gmail.com wrote: > On Thu, Dec 29, 2016 at 1:43 PM, Zoffix Znet via RT < > perl6-bugs-follo...@perl.org> wrote: > Is this making moritz's point on IRC yesterday? By that logic we should be throwing away all the features, the first time we encounter a

[perl #130444] [REGRESSION] Hash value constraints are no longer working (Hash[Int].new(‘abc’ => 20..50))

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130444] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130444 > Code: say Hash[Int].new(‘abc’ => 20..50) Result (2015.12): Type che

[perl #130446] [REGRESSION] [LTA] Creating an enum from a Hash does not work but no longer warns (enum Bits (%thing))

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130446] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130446 > Code: my %h = ; enum Bits (%h); dd Bits.enums Result (2016.05): WAR

[perl #130426] Junction:D ~~ Bool seems to always return False

2016-12-29 Thread Zoffix Znet via RT
On Wed, 28 Dec 2016 11:46:28 -0800, c...@zoffix.com wrote: > Seems regardless of what Junction I use, smartmatch against Bool type > object always returns false, despite > individual items smartmatching as true: > > m: say True ~~ Bool > rakudo-moar db1836: OUTPUT«True␤» > m: say False ~~ Bool

[perl #130441] [REGRESSION] Writablity of elements of slurpy params depends on given arguments

2016-12-29 Thread Zoffix Znet via RT
There are two parts to this: 1): I'd expect the new behaviour of HyperWhatever and wouldn't think it's a bug. You get the same with regular Whatever. m: (--*)(1) rakudo-moar 9fc616: OUTPUT«Cannot resolve caller prefix:<-->(Int); ... And in fact, I can argue the 2015.12 version had a b

[perl #130449] [REGRESSION] Slicing a range no longer produces Nils like it should ( (2..1)[^10] )

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130449] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130449 > Code: say (2..1)[^10] Result (2015.12,2016.02): (Nil Nil Nil Nil Ni

[perl #130450] [REGRESSION] .Int-ing a non-numeric Str no longer throws, but returns a Failure instead (my $i = 'a'.Int)

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130450] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130450 > Code: my $i = 'a'.Int Result (2015.12, 2016.03): Cannot convert str

[perl #130451] [REGRESSION] Looping over unitialized shaped array no longer works (my @array[8]; .say for @array)

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130451] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130451 > Code: my @array[8]; .say for @array Result (2015.12,2016.10): (Any)

[perl #130452] [REGRESSION] rakudo thinks 0/0 is in -∞^..^∞ range, previously it was an error ((-∞^..^∞).in-range: 0/0)

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130452] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130452 > Code: (-∞^..^∞).in-range: 0/0 Result (2015.12,2016.03): X::OutOfRan

[perl #130453] [REGRESSION] a combination of LEAVE phaser and “return” causes return not to work ({ LEAVE { say ‘hi’ }; return 42})

2016-12-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130453] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130453 > Code: sub foo { LEAVE { say ‘block left’ }; return 42 }; say foo Re

[perl #130454] tmpdir tries to change the current working directory

2016-12-29 Thread brian d foy
# New Ticket Created by "brian d foy" # Please include the string: [perl #130454] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130454 > Setting the temporary directory apparently tries to change the current working directory