I fudged some more tests with this error mode in S32-list/squish.t
The error happens in /src/core/Mu.pm when binding to @a in the signature of
this sub definition:
multi sub infix:<eqv>(@a, @b) {
...
}
Moar and JVM behave differently when trying to bind a Seq in such a case:
$ perl6-m -e 'sub foo (@a) { say @a.WHAT }; my $a = Seq.new((1..2).iterator);
foo($a)'
(List)
$ perl6-j -e 'sub foo (@a) { say @a.WHAT }; my $a = Seq.new((1..2).iterator);
foo($a)'
Type check failed in binding @a; expected Positional but got Seq
in sub foo at -e:1
in block <unit> at -e:1