Skip to content
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

Can't call HYPER, no signatures match #4694

Open
p6rt opened this issue Nov 1, 2015 · 3 comments
Open

Can't call HYPER, no signatures match #4694

p6rt opened this issue Nov 1, 2015 · 3 comments
Labels
JVM

Comments

@p6rt
Copy link

@p6rt p6rt commented Nov 1, 2015

Migrated from rt.perl.org#126528 (status was 'open')

Searchable as RT126528$

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Nov 1, 2015

From @coke

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

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Nov 18, 2015

From @peschwa

On Sat Oct 31 17​:48​:23 2015, coke wrote​:

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 )

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Nov 18, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt added the JVM label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.