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

Infinite regress when 'also is' on own class in Rakudo #3080

Closed
p6rt opened this issue Mar 14, 2013 · 5 comments
Closed

Infinite regress when 'also is' on own class in Rakudo #3080

p6rt opened this issue Mar 14, 2013 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Mar 14, 2013

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

Searchable as RT117163$

@p6rt
Copy link
Author

p6rt commented Mar 14, 2013

From @masak

<diakopter> r​: class F { also is F; }
<p6eval> rakudo 1c9939​: OUTPUT«maximum recursion depth exceeded
* masak submits rakudobug for 'also is'

@p6rt
Copy link
Author

p6rt commented Jun 9, 2013

From @jnthn

On Thu Mar 14 13​:31​:32 2013, masak wrote​:

<diakopter> r​: class F { also is F; }
<p6eval> rakudo 1c9939​: OUTPUT�maximum recursion depth exceeded
* masak submits rakudobug for 'also is'

Now​:

$ perl6 -e "class F { also is F; }"
===SORRY!===
Class F cannot inherit from itself
at -e​:1

Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Jun 9, 2013

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

@p6rt
Copy link
Author

p6rt commented Jan 15, 2014

From @coke

On Sun Jun 09 08​:39​:19 2013, jnthn@​jnthn.net wrote​:

On Thu Mar 14 13​:31​:32 2013, masak wrote​:

<diakopter> r​: class F { also is F; }
<p6eval> rakudo 1c9939​: OUTPUT�maximum recursion depth exceeded
* masak submits rakudobug for 'also is'

Now​:

$ perl6 -e "class F { also is F; }"
===SORRY!===
Class F cannot inherit from itself
at -e​:1

Tagging testneeded.

/jnthn

Test added to S12-class/augment-supersede.t
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jan 15, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant