[perl #126883] [LTA] error message mentions parameter “$slip” (1.map: { Slip })

2017-10-04 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This was fixed in https://github.com/rakudo/rakudo/commit/502b886e8d14dbd51b5dc201309f9f8bb0a4c3e0 Not sure why it's still not closed. Closing. On 2015-12-12 20:45:06, lloyd.fo...@gmail.com wrote: > test: > https://github.com/perl6/roast/commit/c205f71781a29a456349a791fdf912d6955fe50f > > On Sat,

Re: [perl #126883] LTA error message mentions parameter "$slip" (1.map: { Slip })

2015-12-12 Thread Lloyd Fournier
test: https://github.com/perl6/roast/commit/c205f71781a29a456349a791fdf912d6955fe50f On Sat, Dec 12, 2015 at 8:13 PM Elizabeth Mattijsen wrote: > Fixed with 502b886e8d14dbd51b5 , needs tests > > $ 6 'say 1.map: { Slip }' > ((Slip)) > > > > On 12 Dec 2015, at 03:30, Alex Jakimenko (via RT) < > pe

Re: [perl #126883] LTA error message mentions parameter “$slip” (1.map: { Slip })

2015-12-12 Thread Elizabeth Mattijsen
Fixed with 502b886e8d14dbd51b5 , needs tests $ 6 'say 1.map: { Slip }' ((Slip)) > On 12 Dec 2015, at 03:30, Alex Jakimenko (via RT) > wrote: > > # New Ticket Created by Alex Jakimenko > # Please include the string: [perl #126883] > # in the subject line of all future correspondence about t

Re: [perl #126883] LTA error message mentions parameter "$slip" (1.map: { Slip })

2015-12-11 Thread Lloyd Fournier
yep by Slip type I meant a Slip type object ie undefined Slip (as opposed to a Slip instance). I don't really understand why it should be an error or warning. 1.map: { Any } # ((Any)) 1.map: { Slip } # shouldn't this be ((Slip)), What's wrong with this? On Sat, Dec 12, 2015 at 4:00 PM Brandon

Re: [perl #126883] LTA error message mentions parameter "$slip" (1.map: { Slip })

2015-12-11 Thread Brandon Allbery
On Fri, Dec 11, 2015 at 11:55 PM, Lloyd Fournier wrote: > I don't think this should be an error. A Slip type is a kinda odd thing to > be mapping but it should work. It's not mapping over Slips in general; it's mapping over an *undefined* Slip. I'd similarly expect some kind of error or at leas

Re: [perl #126883] LTA error message mentions parameter "$slip" (1.map: { Slip })

2015-12-11 Thread Lloyd Fournier
2¢ I don't think this should be an error. A Slip type is a kinda odd thing to be mapping but it should work. quick look: https://github.com/rakudo/rakudo/blob/a61bbddc005d0188e2409a9ef8feee0c9551ab08/src/core/Any-iterable-methods.pm#L121 It just checks whether it's a Slip type but should also be

[perl #126883] LTA error message mentions parameter “$slip” (1.map: { Slip })

2015-12-11 Thread via RT
# New Ticket Created by Alex Jakimenko # Please include the string: [perl #126883] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126883 > Code: say 1.map: { Slip } Result: Parameter '$slip' requires an instance of type Slip,