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
Weird spectest failure in S03-metaops/reduce.t (probably wrong multi sub selected) #5630
Comments
From @usev6With rakudo commit b1c444f062 the following test started to fail in S03-metaops/reduce.t: is ([&&] 1,|(2,3,4)), 4; The error message (with --ll-exception) is: Type check failed in binding to &b; expected Callable but got Int (2) The error does not happen when the code (or test) in question is run stand alone: $ ./perl6-j -Ilib -e 'use Test; is ([&&] 1,|(2,3,4)), 4' It looks like the wrong multi sub infix:<&&> is selected. The backtrace points to this line (from src/core/Bool.pm): multi sub infix:<&&>(Mu \a, &b) { a && b() } Please note: This is not the first time rakudo-j gets confused about multi sub selection: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=128580 I'm going to fudge (skip) the test in question. |
From @usev6There was something wrong with the multi cache on the JVM backend. Fixed with Raku/nqp@7eaebf5abd I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6There was something wrong with the multi cache on the JVM backend. Fixed with Raku/nqp@7eaebf5abd I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#129153 (status was 'resolved')
Searchable as RT129153$
The text was updated successfully, but these errors were encountered: