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

Role type objects are defined in Rakudo #1912

Closed
p6rt opened this issue Jul 4, 2010 · 4 comments
Closed

Role type objects are defined in Rakudo #1912

p6rt opened this issue Jul 4, 2010 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 4, 2010

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

Searchable as RT76382$

@p6rt
Copy link
Author

p6rt commented Jul 4, 2010

From @masak

$ perl6 -e 'class C {}; say defined C # right'
0

$ perl6 -e 'role R {}; say defined R # RONG'
1

@p6rt
Copy link
Author

p6rt commented Jul 15, 2010

From @jnthn

On Sun Jul 04 06​:45​:36 2010, masak wrote​:

$ perl6 -e 'class C {}; say defined C # right'
0

$ perl6 -e 'role R {}; say defined R # RONG'
1

Fixed now​:

role R[$x] {};
R()
say defined R
0
say defined R[42]
0
say R.defined
0
say R[42].defined
0

\0/

Given to moritz++ for spectest (nice if we can cover all the above cases).

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Jul 15, 2010

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

@p6rt
Copy link
Author

p6rt commented Jul 15, 2010

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

@p6rt p6rt closed this as completed Jul 15, 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