For information, it segfaults -- if pre-compiled -- when modifying the
code snippet this way:

    +sub call-with(|args) { callwith(|args) }
    +
     multi sub trait_mod:<is>(Routine $routine, :$wrapped!) {
    -      $routine.wrap: -> |args { callwith(|args) }
    +      $routine.wrap: -> |args { call-with(|args) }
     }

Reply via email to