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

Calling method in Multi dies with internal parrot error #1252

Closed
p6rt opened this issue Aug 25, 2009 · 6 comments
Closed

Calling method in Multi dies with internal parrot error #1252

p6rt opened this issue Aug 25, 2009 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Aug 25, 2009

Migrated from rt.perl.org#68774 (status was 'rejected')

Searchable as RT68774$

@p6rt
Copy link
Author

p6rt commented Aug 25, 2009

From daniel@ruoso.com

ruoso@​cajueiro​:~/devel/perl6/parrot/rakudo$ ./perl6

my $a = Multi.new; $a.push(sub (1,2,3) { }); $a.push(sub (1,2) { });
say $a.find_possible_candidates(1,2);
Attributes of type 'MMD_Cache *' cannot be subclassed from a high-level
PMC.
in Main (<unknown>​:1)

Relevant IRC log.

<jnthn> ruoso​: I'm not quite sure why that's exploding, or where it's
trying to subclass Perl6MultiSub.
<ruoso> maybe because I'm calling Multi.new()
<ruoso> ?
<jnthn> ruoso​: Hadn't quite seen that issue coming though... :-S
<jnthn> ruoso​: Yeah
<jnthn> ruoso​: I'm guessing in there.
<jnthn> I'd need to get a backtrace and see exactly when we get taht
error.
<jnthn> I am slightly surprised.
* jnthn needs to get the code onto github now.
<ruoso> jnthn, do you want me to rakudobug it?
<jnthn> ruoso​: You can, I'd like to look into what's going on.

daniel

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

From @coke

On Tue Aug 25 06​:15​:37 2009, druoso wrote​:

ruoso@​cajueiro​:~/devel/perl6/parrot/rakudo$ ./perl6

my $a = Multi.new; $a.push(sub (1,2,3) { }); $a.push(sub (1,2) { });
say $a.find_possible_candidates(1,2);
Attributes of type 'MMD_Cache *' cannot be subclassed from a high-level
PMC.
in Main (<unknown>​:1)

Relevant IRC log.

<jnthn> ruoso​: I'm not quite sure why that's exploding, or where it's
trying to subclass Perl6MultiSub.
<ruoso> maybe because I'm calling Multi.new()
<ruoso> ?
<jnthn> ruoso​: Hadn't quite seen that issue coming though... :-S
<jnthn> ruoso​: Yeah
<jnthn> ruoso​: I'm guessing in there.
<jnthn> I'd need to get a backtrace and see exactly when we get taht
error.
<jnthn> I am slightly surprised.
* jnthn needs to get the code onto github now.
<ruoso> jnthn, do you want me to rakudobug it?
<jnthn> ruoso​: You can, I'd like to look into what's going on.

daniel

22​:11 < [Coke]> rakudo​: my $a = Multi.new; $a.push(sub (1,2,3) { });
  $a.push(sub (1,2) { }); say $a.find_possible_candidates(1,2);
22​:11 <+p6eval> rakudo 7f5c22​: OUTPUT«too few positional arguments​: 1 passed, 2
  (or more) expected␤ in main program body at line 1␤»

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

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

@p6rt
Copy link
Author

p6rt commented Sep 11, 2011

From @bbkr

NOM​:

bbkr​:nom bbkr$ ./perl6 -e 'my $a = Multi.new; $a.push(sub (1,2,3) { });
$a.push(sub (1,2) { });'
Could not find sub &Multi

@p6rt
Copy link
Author

p6rt commented Sep 11, 2011

From @bbkr

12​:44
jnthn
bbkr​: Multi type makes no sense under current spec.
12​:58
bbkr
jnthn​: so this can be closed​:
https://rt-archive.perl.org/perl6/Ticket/Display.html?id=68774 ?
12​:59
masak
bbkr​: yes.

@p6rt
Copy link
Author

p6rt commented Sep 11, 2011

@bbkr - Status changed from 'open' to 'rejected'

@p6rt p6rt closed this as completed Sep 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant