[perl #125998] [RFC] Should IO::Path be a value type? (i.e. `eqv`-comparable)

2017-06-09 Thread Zoffix Znet via RT
> Should IO behave like value objects? The current behaviour is what we want to keep (this also now being far on the other side of The Christmas), so I'll close this RFC. > However, it seems to use .Str rather than .abspath to compare them Currently, we go through the default Mu `eqv` and so

[perl #125998] [RFC] Should IO::Path be a value type? (i.e. `eqv`-comparable)

2017-06-09 Thread Zoffix Znet via RT
> Should IO behave like value objects? The current behaviour is what we want to keep (this also now being far on the other side of The Christmas), so I'll close this RFC. > However, it seems to use .Str rather than .abspath to compare them Currently, we go through the default Mu `eqv` and so

[perl #131548] [BUG] andthen weirdness with lexicals

2017-06-09 Thread via RT
# New Ticket Created by cygx # Please include the string: [perl #131548] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131548 > Example code: $ cat bug.p6 for ^7 { my $x = 1; 1 andthen print "$x "

[perl #131027] [BUG] unable to view GC and Allocations tabs from a profile

2017-06-09 Thread Jan-Olof Hendig via RT
On Mon, 20 Mar 2017 12:15:22 -0700, jan-olof.hen...@bredband.net wrote: > Something's amiss when viewing the output from –profile in the > browser. > > Steps to reproduce (this is in a 32-bit vm running Linux Mint using > Firefox 52): > > dogbert@dogbert-VirtualBox ~ $ perl6 -v > This is Rakudo

[perl #125813] [UNI] Malformed UTF-8 (string out of bounds) with “say ('a' x 10000).IO.open”

2017-06-09 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
An important line from bisectable output was omitted :) samcv, The result looks a bit unrealistic, doesn't it? Most probably the output is different on every commit (e.g. 「bisect: say rand」) We can try this: c: releases say ('a' x 1).IO.open AlexDaniel,

Re: [perl #131543] [FEATURE_REQUEST] Add line number method to IO::Handle

2017-06-09 Thread Tom Browder via RT
On Fri, Jun 9, 2017 at 07:45 Zoffix Znet via RT < perl6-bugs-follo...@perl.org> wrote: > ution to me, ... > but if you really want the `.ln` > method, create a module that mixes it in. IO::CatHandle::AutoLines does > what you want for cat > handles, so you should be able to re-use a lot of its

Re: [perl #131543] [FEATURE_REQUEST] Add line number method to IO::Handle

2017-06-09 Thread Tom Browder
On Fri, Jun 9, 2017 at 07:45 Zoffix Znet via RT < perl6-bugs-follo...@perl.org> wrote: > ution to me, ... > but if you really want the `.ln` > method, create a module that mixes it in. IO::CatHandle::AutoLines does > what you want for cat > handles, so you should be able to re-use a lot of its

[perl #131543] [FEATURE_REQUEST] Add line number method to IO::Handle

2017-06-09 Thread Zoffix Znet via RT
On Fri, 09 Jun 2017 03:42:36 -0700, tbrowder wrote: > Add a line number method to IO::Handle so that it can be used on demand: > > my $fh = open "some-text", :linenumber, :index1; > > for $fh.lines -> $line { > say "$fh.ln"; # output: 1 > last; > } Thank you for the suggestion,

[perl #131543] [FEATURE_REQUEST] Add line number method to IO::Handle

2017-06-09 Thread Zoffix Znet via RT
On Fri, 09 Jun 2017 03:42:36 -0700, tbrowder wrote: > Add a line number method to IO::Handle so that it can be used on demand: > > my $fh = open "some-text", :linenumber, :index1; > > for $fh.lines -> $line { > say "$fh.ln"; # output: 1 > last; > } Thank you for the suggestion,

[perl #131543] [FEATURE_REQUEST] Add line number method to IO::Handle

2017-06-09 Thread via RT
# New Ticket Created by Tom Browder # Please include the string: [perl #131543] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131543 > Add a line number method to IO::Handle so that it can be used on demand: my $fh = open

[perl #131481] [BUG] No perl6-debug

2017-06-09 Thread Zoffix Znet via RT
On Fri, 09 Jun 2017 00:34:52 -0700, rnhainswo...@gmail.com wrote: > It seems the executable in .rakudobrew/bin is a complex script and is > different from the executable in .rakudobrew/moar-nom > > Is there some documentation about the build process? Yes, forget rakudobrew. It's not for working

[perl #131481] [BUG] No perl6-debug

2017-06-09 Thread Zoffix Znet via RT
On Fri, 09 Jun 2017 00:34:52 -0700, rnhainswo...@gmail.com wrote: > It seems the executable in .rakudobrew/bin is a complex script and is > different from the executable in .rakudobrew/moar-nom > > Is there some documentation about the build process? Yes, forget rakudobrew. It's not for working

Re: [perl #131481] [BUG] No perl6-debug

2017-06-09 Thread Richard Hainsworth
Just started work on getting perl6-debug to work again. Some help: There is a commit to rakudo-debug - pmurias committed on 26 Mar This is about the time the debugger went AWOL. So I thought to reverse the commit locally to verify. But I'm having a problem

Re: [perl #131481] [BUG] No perl6-debug

2017-06-09 Thread Richard Hainsworth via RT
Just started work on getting perl6-debug to work again. Some help: There is a commit to rakudo-debug - pmurias committed on 26 Mar This is about the time the debugger went AWOL. So I thought to reverse the commit locally to verify. But I'm having a problem