Skip Menu |
Report information
Id: 126528
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: coke <will [at] coleda.com>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: JVM



Subject: [JVM] Can't call HYPER, no signatures match
Date: Sat, 31 Oct 2015 20:48:13 -0400
To: rakudobug [...] perl.org
From: Will Coleda <will [...] coleda.com>
Download (untitled) / with headers
text/plain 743b
S03-metaops/hyper.t has many failures of the form: Cannot call HYPER(Sub+{<anon|386789869>}+{Precedence}, Str, Int, Any); none of these signatures match: (&op, \left, \right, :$dwim-left, :$dwim-right) (&op, Associative:D \left, Associative:D \right, :$dwim-left, :$dwim-right) (&op, Associative:D \left, \right, :$dwim-left, :$dwim-right) (&op, \left, Associative:D \right, :$dwim-left, :$dwim-right) (&operator, Positional:D \left, \right, :$dwim-left, :$dwim-right) (&operator, \left, Positional:D \right, :$dwim-left, :$dwim-right) (&operator, Iterable:D \left, Iterable:D \right, :$dwim-left, :$dwim-right) (\op, \obj) in block <unit> at t/spec/S03-metaops/hyper.rakudo.jvm:995 -- Will "Coke" Coleda
On Sat Oct 31 17:48:23 2015, coke wrote: Show quoted text
> S03-metaops/hyper.t has many failures of the form: > > Cannot call HYPER(Sub+{<anon|386789869>}+{Precedence}, Str, Int, Any); > none of these signatures match: > (&op, \left, \right, :$dwim-left, :$dwim-right) > (&op, Associative:D \left, Associative:D \right, :$dwim-left, > :$dwim-right) > (&op, Associative:D \left, \right, :$dwim-left, :$dwim-right) > (&op, \left, Associative:D \right, :$dwim-left, :$dwim-right) > (&operator, Positional:D \left, \right, :$dwim-left, :$dwim-right) > (&operator, \left, Positional:D \right, :$dwim-left, :$dwim-right) > (&operator, Iterable:D \left, Iterable:D \right, :$dwim-left, > :$dwim-right) > (\op, \obj) > in block <unit> at t/spec/S03-metaops/hyper.rakudo.jvm:995
http://irclog.perlgeek.de/perl6/2015-09-17#i_11234861 and onward has some prodding around, which seemed (and still seems) to suggest that any two invocations of a rhs-dwimmy hyper causes this particular dispatch failure. Cf. current camelia: 20:43 <psch> m: my @a = 1,2,3; @a >>+>> (); @a <<+>> () 20:43 <camelia> rakudo-moar 019bf1: ( no output ) 20:43 <psch> j: my @a = 1,2,3; @a >>+>> (); @a <<+>> () 20:43 <camelia> rakudo-jvm deeec1: OUTPUT«Cannot call HYPER(Sub+{<anon|1466265664>}+{Precedence}, Int, Int, Int); none of these signatures match:␤ (&op, \left, \right, :$dwim-left, :$dwim-right)␤ (&op, Associative:D \left, Associative:D \right, :$dwim-left, :$dwim-right)␤ (&op, Assoc…» 20:43 <psch> j: my @a = 1,2,3; @a <<+>> (); @a <<+>> () 20:43 <camelia> rakudo-jvm deeec1: OUTPUT«Cannot call HYPER(Sub+{<anon|1466265664>}+{Precedence}, Int, Int, Int); none of these signatures match:␤ (&op, \left, \right, :$dwim-left, :$dwim-right)␤ (&op, Associative:D \left, Associative:D \right, :$dwim-left, :$dwim-right)␤ (&op, Assoc…» 20:43 <psch> j: my @a = 1,2,3; @a <<+>> (); 20:43 <camelia> rakudo-jvm deeec1: ( no output ) 20:43 <psch> j: my @a = 1,2,3; @a <<+>> (); @a <<+<< (1,2,3) 20:44 <camelia> rakudo-jvm deeec1: ( no output )


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org