[perl #125523] [LTA] num64 not properly defaulting

2017-10-05 Thread jn...@jnthn.net via RT
On Mon, 02 Oct 2017 18:09:45 -0700, alex.jakime...@gmail.com wrote: > Right, because it's a Rat. > > sub foo(num64 $scale = 1.0) {}; say foo # This type cannot unbox to a > native > number: P6opaque, Rat > sub foo(num64 $scale = 1.0.Num) {}; say foo # Nil > No need for .Num, just write it as 1e0

[perl #125523] [LTA] num64 not properly defaulting

2017-10-05 Thread jn...@jnthn.net via RT
On Mon, 02 Oct 2017 18:09:45 -0700, alex.jakime...@gmail.com wrote: > Right, because it's a Rat. > > sub foo(num64 $scale = 1.0) {}; say foo # This type cannot unbox to a > native > number: P6opaque, Rat > sub foo(num64 $scale = 1.0.Num) {}; say foo # Nil > No need for .Num, just write it as 1e0

[perl #131915] [REGRESSION] Proc using more memory since being a Proc::Async

2017-10-05 Thread jn...@jnthn.net via RT
On Wed, 16 Aug 2017 14:24:48 -0700, scoli...@gmail.com wrote: > Similar to https://rt.perl.org/m/ticket/show?id=131914 it was noticed > that there is a huge increase of memory usage after running a simple > echo command. > Result are in Kbytes. > > commit: > 92bd7e4f54a9^,92bd7e4f54a9,9658dd98c9d

[perl #131915] [REGRESSION] Proc using more memory since being a Proc::Async

2017-10-05 Thread jn...@jnthn.net via RT
On Wed, 16 Aug 2017 14:24:48 -0700, scoli...@gmail.com wrote: > Similar to https://rt.perl.org/m/ticket/show?id=131914 it was noticed > that there is a huge increase of memory usage after running a simple > echo command. > Result are in Kbytes. > > commit: > 92bd7e4f54a9^,92bd7e4f54a9,9658dd98c9d

[perl #130370] [CONC] Tapping on a very active .out of Proc::Async wrecks the work queue

2017-10-05 Thread jn...@jnthn.net via RT
On Tue, 20 Dec 2016 05:07:57 -0800, jn...@jnthn.net wrote: > On Sun, 18 Dec 2016 06:24:38 -0800, alex.jakime...@gmail.com wrote: > > This is probably best demonstrated by a code snippet. > > > > Code: > > > > my $out = Channel.new; > > #my $proc = Proc::Async.new(‘perl6’, ‘-e’, ‘sleep ∞’); # ← this

[perl #130370] [CONC] Tapping on a very active .out of Proc::Async wrecks the work queue

2017-10-05 Thread jn...@jnthn.net via RT
On Tue, 20 Dec 2016 05:07:57 -0800, jn...@jnthn.net wrote: > On Sun, 18 Dec 2016 06:24:38 -0800, alex.jakime...@gmail.com wrote: > > This is probably best demonstrated by a code snippet. > > > > Code: > > > > my $out = Channel.new; > > #my $proc = Proc::Async.new(‘perl6’, ‘-e’, ‘sleep ∞’); # ← this

[perl #132222] [BUG] 'HAS' Embedded C-Structs not working as documented

2017-10-05 Thread Brian S. Julin via RT
On Wed, 04 Oct 2017 23:19:19 -0700, david.warring wrote: > From > https://docs.perl6.org/language/nativecall#Embedding_CStructs_and_CUnions > > class Point is repr('CStruct') { > has uint16 $.x; > has uint16 $.y; > } > > class MyStruct2 is repr('CStruct') { > HAS Point $.point; # <--

[perl #122256] [NYI] Support EVAL(Buf)

2017-10-05 Thread Zoffix Znet via RT
On Wed, 09 Jul 2014 07:10:31 -0700, coke wrote: > S29 says that EVAL should work on Buf in addition to Str; There is one > test in S29-context/eval.t that tests for this but is skipped. > > Could probably use more tests. > Everything is now implemented[^1] with more tests added[^2], and I unfudg

[perl #122256] [NYI] Support EVAL(Buf)

2017-10-05 Thread Zoffix Znet via RT
On Wed, 09 Jul 2014 07:10:31 -0700, coke wrote: > S29 says that EVAL should work on Buf in addition to Str; There is one > test in S29-context/eval.t that tests for this but is skipped. > > Could probably use more tests. > Everything is now implemented[^1] with more tests added[^2], and I unfudg

Re: [perl #132222] [BUG] 'HAS' Embedded C-Structs not working as documented

2017-10-05 Thread David Warring
Thanks for that. As a worka-around Rakudo seems to do a better job, if I give it a helping hand viz a TWEAK method: use NativeCall; class Point is repr('CStruct') { has uint8 $.x; has uint8 $.y; } class MyStruct2 is repr('CStruct') { HAS Point $.point; # <-- embedded has int8 $.f

Re: [perl #132222] [BUG] 'HAS' Embedded C-Structs not working as documented

2017-10-05 Thread David Warring via RT
Thanks for that. As a worka-around Rakudo seems to do a better job, if I give it a helping hand viz a TWEAK method: use NativeCall; class Point is repr('CStruct') { has uint8 $.x; has uint8 $.y; } class MyStruct2 is repr('CStruct') { HAS Point $.point; # <-- embedded has int8 $.f

[perl #132225] segmentation fault while concurrently updating SetHash

2017-10-05 Thread via RT
# New Ticket Created by David Lowe # Please include the string: [perl #132225] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132225 > This short program crashes reliably (with a segmentation fault) on my system: ``` #!/usr/b

[perl #132226] "impossible" undefined value in concurrent ENTER phasers

2017-10-05 Thread via RT
# New Ticket Created by David Lowe # Please include the string: [perl #132226] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132226 > This program dies after a short but inconsistent run: ``` #!/usr/bin/env perl6 use v6.c;