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

Error when reporting an error during parsing caused by doing a role with Lions containing each other in Rakudo #1821

Closed
p6rt opened this issue Jun 9, 2010 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 9, 2010

Migrated from rt.perl.org#75644 (status was 'resolved')

Searchable as RT75644$

@p6rt
Copy link
Author

p6rt commented Jun 9, 2010

From @masak

<masak> rakudo​: role Lion[​::T] {}; class LionMadeOfLions does Lion[Lion] {}
<p6eval> rakudo a54677​: OUTPUT«===SORRY!===␤Could not find sub &chars␤»
<masak> whoa! :)
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Aug 11, 2010

From @coke

On Wed Jun 09 14​:22​:08 2010, masak wrote​:

<masak> rakudo​: role Lion[​::T] {}; class LionMadeOfLions does Lion[Lion] {}
<p6eval> rakudo a54677​: OUTPUT«===SORRY!===␤Could not find sub &chars␤»
<masak> whoa! :)
* masak submits rakudobug

Behavior has changed​:

<[Coke]> rakudo​: role Lion[​::T] {}; class LionMadeOfLions does Lion[Lion] {}
<p6eval> rakudo a47c45​: OUTPUT«===SORRY!===␤No applicable candidates
  found to dispatch to for '_block117'. Available candidates
  are​:␤​:(Mu :​:T )␤␤»

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Aug 11, 2010

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

@p6rt
Copy link
Author

p6rt commented Aug 12, 2010

From @masak

masak (>>), coke (>)​:

<masak> rakudo​: role Lion[​::T] {}; class LionMadeOfLions does
Lion[Lion] {}
<p6eval> rakudo a54677​: OUTPUT«===SORRY!===␤Could not find sub
&chars␤»
<masak> whoa! :)
* masak submits rakudobug

Behavior has changed​:

<[Coke]> rakudo​: role Lion[​::T] {}; class LionMadeOfLions does
Lion[Lion] {}
<p6eval> rakudo a47c45​: OUTPUT«===SORRY!===␤No applicable candidates
found to dispatch to for '_block117'. Available
candidates
are​:␤​:(Mu :​:T )␤␤»

That looks right to me. The inner Lion expects a parameter, and doesn't get one. Hence the
above error.

Sending ticket to tests, in case tests are needed for this.

@p6rt
Copy link
Author

p6rt commented Aug 20, 2010

From @moritz

I won't write any tests for this, because we have no reliable way to
distinguish these errors (at least for now).

@p6rt
Copy link
Author

p6rt commented Aug 20, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Aug 20, 2010
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant