On Wed Oct 08 12:36:34 2014, barto...@gmx.de wrote: > The error message looks adequate now: > > $ perl6 -e 'sub foo(Int *@ints) {}' > ===SORRY!=== Error while compiling -e > Slurpy positionals with type constraints are not supported. > at -e:1 > ------> sub foo(Int *@ints⏏) {} > expecting any of: > formal parameter > constraint > > But as it was pointed out above typed slurpy arrays are used in the > spec in several places. > > There are several skipped tests for typed slurpy params in S06- > signature/slurpy-params.t. Should this ticket be closed (with a test > for the current error message)?
In Perl 6.christmas, we won't support typed slurpies. I've updated S06 to note they are a conjectural feature, and updated the tests to reflect this (and also to check for the typed exception the compiler throws in this case).