You're reaching deep into rakudo's internals here, reaching an object
that doesn't know about pretty much any methods you might want to have,
and there's also no support for them in things like the ~~ operator, for
You're getting the error because you're calling ~~ with the NQPRoutine
object, but there's no candidate in the multi sub &infix:<~~>, which is
why you're getting an X::Multi::NoMatch. I assume the method that tries
to build the proper message is trying to look closely at the NQPRoutine
object that got passed and accidentally causes an X::Method::NotFound,
and that's why you get the much less helpful error message "Died with
Clearly the example from the docs ought to be changed to handle this, too.
Hope that helps!