[perl #126969] [BUG] Smartmatching against a regex in a variable doesn't capture things into $/ in Rakudo

2016-12-03 Thread Zoffix Znet via RT
On Tue, 29 Nov 2016 22:24:43 -0800, comdog wrote: > This is still broken, and it's important to me. > > my $target = 'abcdef'; > > my $n = 'abc'; > my $r = rx/ ( 'abc' ) /; > say "\$r is ", $r.WHAT; > $r.say; > > # This returns a Bool > my $result = $target ~~ $r; > say "result is ", $result.WH

[perl #130255] [LTA] Error message says “Invalid base-… character”, but does not say which characters are valid (say :35)

2016-12-03 Thread Zoffix Znet via RT
On Sat, 03 Dec 2016 17:01:47 -0800, alex.jakime...@gmail.com wrote: > Code: > say :35 > > Result: > ===SORRY!=== Error while compiling > Invalid base-35 character: li⏏zmat > at :1 > --> say :35⏏ > > > More informative would be a message that says what the valid characters are. Fixed in ht

[perl #130255] [LTA] Error message says “Invalid base-… character”, but does not say which characters are valid (say :35)

2016-12-03 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130255] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130255 > Code: say :35 Result: ===SORRY!=== Error while compiling Invalid ba

[perl #128804] [LTA] error message talks about 2/-1 fractional chars (:35)

2016-12-03 Thread Zoffix Znet via RT
On Mon, 01 Aug 2016 12:46:51 -0700, alex.jakime...@gmail.com wrote: > Code: > say :35 > > Result: > ===SORRY!=== Error while compiling -e > Couldn't process entire number: 2/6 int chars, 2/-1 fractional chars > at -e:1 > --> say :35⏏ > > > I am not even sure if I understand the “2/6 int char

[perl #130251] [LTA] error message when a semicolon is missing before a while loop (my $x = 5 while True {})

2016-12-03 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130251] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130251 > Code: my $x = 5 while True { } Result: ===SORRY!=== Error while com

[perl #130249] Negative values are not allowed in --> part of the signature (sub f (--> -42) {})

2016-12-03 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130249] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130249 > Code: sub foo (--> 42) {} say foo Result: 42 OK, that works, let's

Re: [perl #130248] [BUG] When do-for idiom called on a lazy-infinite list to do pull-one, it exhausts the given list

2016-12-03 Thread Timo Paulssen via RT
I don't think that's what's happening. It looks like you're creating an iterator three times and are trying to get the first element through each iterator. Check out what happens when you call .iterator only once: perl6 -e 'my \a = (gather for ^Inf { take $_ }).iterator; say do for ^3 { a.pull-on

Re: [perl #130248] [BUG] When do-for idiom called on a lazy-infinite list to do pull-one, it exhausts the given list

2016-12-03 Thread Timo Paulssen
I don't think that's what's happening. It looks like you're creating an iterator three times and are trying to get the first element through each iterator. Check out what happens when you call .iterator only once: perl6 -e 'my \a = (gather for ^Inf { take $_ }).iterator; say do for ^3 { a.pull-on

[perl #130248] [BUG] When do-for idiom called on a lazy-infinite list to do pull-one, it exhausts the given list

2016-12-03 Thread via RT
# New Ticket Created by Itsuki Toyota # Please include the string: [perl #130248] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130248 > See the following results: $ perl6 -e 'my \a = gather for ^Inf { take $_ }; say do for