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 declare X::Y and then X in Rakudo #1643

Closed
p6rt opened this issue Mar 30, 2010 · 5 comments
Closed

Cannot declare X::Y and then X in Rakudo #1643

p6rt opened this issue Mar 30, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Mar 30, 2010

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

Searchable as RT73912$

@p6rt
Copy link
Author

p6rt commented Mar 30, 2010

From @masak

This be Rakudo 534afd8 on Parrot r45304.

$ mkdir X

$ echo 'class X​::Y {}' > X/Y.pm

$ perl6 -e 'use X​::Y; class X {}'
Illegal redeclaration of symbol 'X'
[...]

Which is obviously bogus; I'm not redeclaring X, not to mention
redeclaring it illegally.

@p6rt
Copy link
Author

p6rt commented Oct 5, 2011

From @coke

On Tue Mar 30 06​:46​:26 2010, masak wrote​:

This be Rakudo 534afd8 on Parrot r45304.

$ mkdir X

$ echo 'class X​::Y {}' > X/Y.pm

$ perl6 -e 'use X​::Y; class X {}'
Illegal redeclaration of symbol 'X'
[...]

Which is obviously bogus; I'm not redeclaring X, not to mention
redeclaring it illegally.

This now silently succeeds, and needs tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 5, 2011

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

@p6rt
Copy link
Author

p6rt commented Oct 5, 2011

From @moritz

Now tested in S10-packages/joined-namespaces.t

@p6rt
Copy link
Author

p6rt commented Oct 5, 2011

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