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

The type object of a class that has only had a { ... } declaration yields Failure in Rakudo #2219

Closed
p6rt opened this issue Oct 10, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Oct 10, 2010

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

Searchable as RT78314$

@p6rt
Copy link
Author

p6rt commented Oct 10, 2010

From @masak

<masak> rakudo​: role Bottle[​::T] { method Str { "a bottle of {T}" } };
class Wine { ... }; say Bottle[Wine].new
<p6eval> rakudo 5bdbd4​: OUTPUT«a bottle of Failure()␤»
<masak> oh la la
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Apr 21, 2012

From @jnthn

On Sun Oct 10 16​:04​:01 2010, masak wrote​:

<masak> rakudo​: role Bottle[​::T] { method Str { "a bottle of {T}" } };
class Wine { ... }; say Bottle[Wine].new
<p6eval> rakudo 5bdbd4​: OUTPUT«a bottle of Failure()␤»
<masak> oh la la
* masak submits rakudobug

You are now correctly wined at​:

role Bottle[​::T] { method Str { "a bottle of {T}" } }; class Wine {
... }; say Bottle[Wine].new
The following packages were stubbed but not defined​:
  Wine

Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Apr 21, 2012

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

@p6rt
Copy link
Author

p6rt commented Mar 15, 2013

From @timo

added a test for this in roast​: b9fb830

@p6rt
Copy link
Author

p6rt commented Mar 15, 2013

@timo - 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