Re: [perl #129334] Backtrace.map is dead code

2016-09-23 Thread Elizabeth Mattijsen
AFAIK, :$label en :$item are internal to the setting. They’re needed because internally, map is used for for-loops. And for loops can have a label. And need to be told the list they’re getting should be considered an item. Regarding why .first and .map exist: this is because of the way a back

[perl #129321] [BUG] deepmap can recurse indefinitely under some circumstances

2016-09-23 Thread Zoffix Znet via RT
On Tue Sep 20 13:54:33 2016, jan-olof.hen...@bredband.net wrote: > # tested with > > dogbert@dogbert-VirtualBox ~ $ perl6 -v > This is Rakudo version 2016.09-19-g8be36b1 built on MoarVM version 2016.09 > implementing Perl 6.c > > # the following two examples behave quite differently > > dogbert@

[perl #128831]

2016-09-23 Thread Cuong Manh Le via RT
Hi, I'm the one who add this test. First of all, this test only run on Linux, so we're safe to assume that /proc exists. The second, `/proc//comm` is only available since Linux 2.6.33. I think we should pick the first file under `/proc/1/*` to read. Thanks. Cuong Manh Le https://cuonglm.xyz

[perl #128831]

2016-09-23 Thread Cuong Manh Le via RT
Hi, I create a PR to fix this issue: https://github.com/perl6/roast/pull/159 The test now picks the first readable file under `/proc/1`. Thanks. Cuong Manh Le https://cuonglm.xyz

[perl #129344] [BUG] "my" variable in a recursive subroutine leaks to callers scope

2016-09-23 Thread via RT
# New Ticket Created by Steve Schulze # Please include the string: [perl #129344] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129344 > I have a subroutine that may recurse, that contains a "my" counter variable. Each recur

[perl #129346] [BUG] Whatever being called on where-blocked subroutine cannot handle the sigilless values correctly

2016-09-23 Thread via RT
# New Ticket Created by Itsuki Toyota # Please include the string: [perl #129346] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129346 > See the following results $ perl6 -e 'sub foo(\a where { *.WHAT === Int } ) { say "Hell