On Wed Mar 09 06:29:52 2011, moritz wrote:
> Now fixed both in rakudo and in roast.

<masak> er, waitaminute.
<masak> rakudo: say min(3,6)
<p6eval> rakudo 792e86: OUTPUT«Unable to handle non-closure Ordering yet [...]
<masak> the bug is not fixed after all.
* masak re-opens RT #85674

Commit a38d45 (by moritz) *does* indeed look like it should the issue.

-proto sub min($by, *@values) { @values.min($by); }
-proto sub max($by, *@values) { @values.max($by); }
-proto sub minmax($by, *@values) { @values.minmax($by); }
+proto sub min(*@values, :$by) { @values.min($by); }
+proto sub max(*@values, :$by) { @values.max($by); }
+proto sub minmax(*@values, :$by) { @values.minmax($by); }

But it doesn't. Unclear why.

Re-opening ticket.

Reply via email to