Skip to content

Commit

Permalink
Toss spesh plugin related line in dispatch:<::>
Browse files Browse the repository at this point in the history
We no longer need to come here for error production.
  • Loading branch information
jnthn committed Jul 1, 2020
1 parent 9d0d41a commit 6164a82
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core.c/Mu.pm6
Expand Up @@ -990,8 +990,6 @@ Perhaps it can be found at https://docs.raku.org/type/$name"
method dispatch:<::>(Mu \SELF: $name, Mu $type, |c) is raw {
my $meth;
my $ctx := nqp::ctxcaller(nqp::ctx());
# Bypass wrapping thunk if redirected from spesh plugin
$ctx := nqp::ctxcaller($ctx) if $*SPESH-THUNKED-DISPATCH;
if nqp::istype(self, $type) {
my $sym-found := 0;
my $caller-type;
Expand Down

0 comments on commit 6164a82

Please sign in to comment.