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

'my class' and 'our class' #462

Closed
p6rt opened this issue Dec 6, 2008 · 8 comments
Closed

'my class' and 'our class' #462

p6rt opened this issue Dec 6, 2008 · 8 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 6, 2008

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

Searchable as RT61108$

@p6rt
Copy link
Author

p6rt commented Dec 6, 2008

From @masak

$ perl6 -e 'my class A {}'
Could not find non-existent sub my

$ perl6 -e 'our class A {}'
Could not find non-existent sub our
[...]

Whereas the latter would be synonymous with just 'class', S12 doesn't
explicitly disallow this syntax, so it should probably be legal.

@p6rt
Copy link
Author

p6rt commented Dec 29, 2008

From @masak

S12​:

To declare a lexically scoped class, use my class.

This currently does not work in Rakudo.

@p6rt
Copy link
Author

p6rt commented Dec 30, 2008

From @pmichaud

On Mon Dec 29 08​:40​:57 2008, masak wrote​:

S12​:

To declare a lexically scoped class, use my class.

This currently does not work in Rakudo.

Marking ticket as a duplicate of RT #​61108.

Pm

@p6rt
Copy link
Author

p6rt commented Dec 30, 2008

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

@p6rt
Copy link
Author

p6rt commented Jul 10, 2009

From @kyleha

This is an automatically generated mail to inform you that tests are now available in b/t/spec/S12-class/lexical.t

@p6rt
Copy link
Author

p6rt commented Jul 10, 2009

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

@p6rt
Copy link
Author

p6rt commented Apr 24, 2010

From @jnthn

On Mon Dec 29 08​:40​:57 2008, masak wrote​:

S12​:

To declare a lexically scoped class, use my class.

This currently does not work in Rakudo.

Lexical class declarations now work, and I've enabled the tests written
for this ticket (and written several more on top of it - we're not
perfect yet, but all the basics seem to work nicely)).

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Apr 24, 2010

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

@p6rt p6rt closed this as completed Apr 24, 2010
@p6rt p6rt added the Todo 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