Skip to content

Commit

Permalink
Simplify return value
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Oct 28, 2016
1 parent f50e39b commit 4034f71
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/Mu.pm
Expand Up @@ -717,9 +717,7 @@ my class Mu { # declared in BOOTSTRAP
$meth = ($obj.^submethod_table){name} if !$meth && $i == 0;
nqp::push($results,$meth(SELF, |c)) if $meth;
}
my $list := nqp::create(List);
nqp::bindattr($list, List, '$!reified', $results);
$list
nqp::p6bindattrinvres(nqp::create(List),List,'$!reified',$results)
}

method dispatch:<hyper>(Mu \SELF: \name, |c) {
Expand Down

0 comments on commit 4034f71

Please sign in to comment.