-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expected Positional but got Seq #4691
Comments
From @cokeSeveral tests in t/spec/S32-list/produce.t fail only on the JVM with -- |
From @usev6I 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)' $ perl6-j -e 'sub foo (@a) { say @a.WHAT }; my $a = Seq.new((1..2).iterator); foo($a)' |
1 similar comment
From @usev6I 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)' $ perl6-j -e 'sub foo (@a) { say @a.WHAT }; my $a = Seq.new((1..2).iterator); foo($a)' |
@usev6 - Status changed from 'new' to 'open' |
From @peschwaOn Wed Nov 18 05:23:56 2015, bartolin@gmx.de wrote:
This seems to be related to signature compilation on moar, which is NYI on jvm, cf. http://irclog.perlgeek.de/perl6/2015-11-20#i_11574866 and 00:51 < psch> r: use nqp; sub foo (@a) { say @a.WHAT }; my $a = Seq.new((1..2).iterator); foo(nqp::decont($a)) |
From @usev6Fixed with commit rakudo/rakudo@d09ad6eaf7 The tests are passing again. I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6Fixed with commit rakudo/rakudo@d09ad6eaf7 The tests are passing again. I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#126493 (status was 'resolved')
Searchable as RT126493$
The text was updated successfully, but these errors were encountered: