[perl #125634] [BUG] Using a compiled (mbc) wrapping trait: Cannot invoke this object (REPR: Null, cs = 0)

2015-07-17 Thread cdc
For information, it segfaults -- if pre-compiled -- when modifying the code snippet this way: +sub call-with(|args) { callwith(|args) } + multi sub trait_mod:(Routine $routine, :$wrapped!) { - $routine.wrap: -> |args { callwith(|args) } + $routine.wrap: -> |args { ca

[perl #125634] [BUG] Using a compiled (mbc) wrapping trait: Cannot invoke this object (REPR: Null, cs = 0)

2015-07-17 Thread via RT
# New Ticket Created by # Please include the string: [perl #125634] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125634 > How to reproduce: cdc:~/golf$ cat lib/Golf.pm6 unit module Golf; multi sub trait_mod:(