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

LTA error message for class inheriting from itself in Rakudo #2301

Closed
p6rt opened this issue Dec 21, 2010 · 3 comments
Closed

LTA error message for class inheriting from itself in Rakudo #2301

p6rt opened this issue Dec 21, 2010 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 21, 2010

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

Searchable as RT81058$

@p6rt
Copy link
Author

p6rt commented Dec 21, 2010

From @masak

<masak> rakudo​: class A is A {}; say A.new
<p6eval> rakudo cae7f9​: OUTPUT«===SORRY!===␤No applicable candidates
found to dispatch to for 'trait_mod​:<is>'. [...]
<masak> LTA
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jan 20, 2013

From @timo

Rakudo now throws a typed exception X​::Inheritance​::SelfInherit, like this​:

===SORRY!===
'MagicClass' cannot inherit from itself.

@p6rt
Copy link
Author

p6rt commented Jan 20, 2013

@timo - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jan 20, 2013
@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