Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix dispatch:<.*> failing with "This type does not support elems"
No idea why returning an Array would not be ok.
  • Loading branch information
niner committed Aug 22, 2015
1 parent ed32f95 commit d161fb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/Mu.pm
Expand Up @@ -563,7 +563,9 @@ Please refactor this code using the new Iterator / Seq interface.
}
$i = $i + 1;
}
&infix:<,>(|@results)
my $list := nqp::create(List);
nqp::bindattr($list, List, '$!reified', nqp::getattr(@results, List, '$!reified'));
$list
}

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

0 comments on commit d161fb4

Please sign in to comment.