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

Cannot refer to a defined class 'class' in Rakudo #1155

Closed
p6rt opened this issue Jul 22, 2009 · 8 comments
Closed

Cannot refer to a defined class 'class' in Rakudo #1155

p6rt opened this issue Jul 22, 2009 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Jul 22, 2009

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

Searchable as RT67784$

@p6rt
Copy link
Author

p6rt commented Jul 22, 2009

From @masak

<masak> rakudo​: class class {}; say class.new.perl
<p6eval> rakudo 5901f2​: OUTPUT«Unable to parse class definition at
line 2, near .new.perl" [...]
<masak> mohahaha.
* masak submits an insidious rakudobug

Seems Rakudo thinks 'class' is a reserved word or something.

<jnthn> std​: class class {};
<p6eval> std 27668​: OUTPUT«ok 00​:02 36m␤»

@p6rt
Copy link
Author

p6rt commented Jul 24, 2009

From @kyleha

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

@p6rt
Copy link
Author

p6rt commented Jul 24, 2009

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

@p6rt
Copy link
Author

p6rt commented Sep 11, 2011

From @bbkr

NOM​: still broken

bbkr​:nom bbkr$ ./perl6 -e 'class class {}; say class.new.perl'
===SORRY!===
Unable to parse $*PKGDECL definition at line 1, near ".new.perl"

I also confirmed this is still allowed in STD​:

11​:13
bbkr
std​: class class {}; say class.new.perl

11​:13
p6eval
std bb4f150​: OUTPUT«ok 00​:01 119m␤»

@p6rt
Copy link
Author

p6rt commented Apr 20, 2012

From @bbkr

2012.04 - still bugged

@p6rt
Copy link
Author

p6rt commented Mar 2, 2015

From @usev6

This works now​:

$ perl6 -e 'class class {}; say class.new.perl'
class.new()

The test in S12-class/basic.t was unfudged with commit Raku/roast@b76efe4175

I'm closing this ticket as 'resolved'.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Mar 2, 2015

From @usev6

This works now​:

$ perl6 -e 'class class {}; say class.new.perl'
class.new()

The test in S12-class/basic.t was unfudged with commit Raku/roast@b76efe4175

I'm closing this ticket as 'resolved'.

@p6rt p6rt closed this as completed Mar 2, 2015
@p6rt
Copy link
Author

p6rt commented Mar 2, 2015

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