[perl #132045] [BUG] Cannot use [] to parameterize a role unless it's known at compile time and it's a bareword.

2017-09-08 Thread jn...@jnthn.net via RT
On Thu, 07 Sep 2017 14:53:44 -0700, ben-goldb...@hotmail.com wrote: > The following code samples work as expected: > > m: use MONKEY; my $m = 'foo'; my $p = EVAL qq!role :: > [\$value] \{ method $m \{ \$value } }!; say $p.^parameterize(42).foo; > <+camelia> rakudo-moar e7a588: OUTPUT: «42␤» > >

[perl #132045] [BUG] Cannot use [] to parameterize a role unless it's known at compile time and it's a bareword.

2017-09-08 Thread jn...@jnthn.net via RT
On Thu, 07 Sep 2017 14:53:44 -0700, ben-goldb...@hotmail.com wrote: > The following code samples work as expected: > > m: use MONKEY; my $m = 'foo'; my $p = EVAL qq!role :: > [\$value] \{ method $m \{ \$value } }!; say $p.^parameterize(42).foo; > <+camelia> rakudo-moar e7a588: OUTPUT: «42␤» > >

[perl #132044] returning inside whenever block causes MoarVM panic

2017-09-08 Thread jn...@jnthn.net via RT
On Thu, 07 Sep 2017 13:33:30 -0700, nlo...@gmail.com wrote: > The code below almost always results in "MoarVM panic: Internal error: > Unwound entire stack and missed handler" > ``` > sub ran-ok() { > react { > my $proc = Proc::Async.new("echo", "1”); > whenever

[perl #132042] [CONC] rakudo hangs while concurrently walking trees

2017-09-08 Thread Nick Logan via RT
Resolved with https://github.com/MoarVM/MoarVM/commit/32322f393365c235807d69f54370caa64c3a31fb but not sure how to write a test for deadlocks

[perl #132044] returning inside whenever block causes MoarVM panic

2017-09-08 Thread via RT
# New Ticket Created by ugexe # Please include the string: [perl #132044] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132044 > The code below almost always results in "MoarVM panic: Internal error: Unwound entire stack and

[perl #131791] Custom class :D coersers don't work

2017-09-08 Thread Brian S. Julin via RT
On Wed, 23 Aug 2017 06:20:49 -0700, b...@abrij.org wrote: > On Mon, 24 Jul 2017 10:04:54 -0700, c...@zoffix.com wrote: > > The coercion works fine here: > > > > 17:03 Zoffix m: class B {…}; class A { method B { B.new }}; class > > B > > {}; sub foo(B() $b) { say "hi" }; foo(A.new) > > 17:03 ca