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

Assignment to my-variables happens too early #795

Closed
p6rt opened this issue Mar 19, 2009 · 3 comments
Closed

Assignment to my-variables happens too early #795

p6rt opened this issue Mar 19, 2009 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Mar 19, 2009

Migrated from rt.perl.org#64010 (status was 'rejected')

Searchable as RT64010$

@p6rt
Copy link
Author

p6rt commented Mar 19, 2009

From @moritz

00​:42 <@​TimToady> rakudo​: eval 'say $x'; my $x = 5;
00​:42 < p6eval> rakudo c26021​: RESULT«5»
00​:42 <@​TimToady> at the point it executes the eval, it should not have
  initialized $x yet

There's a new test for that one in t/spec/S04-declarations/my.t.

Cheers,
Moritz
--
Moritz Lenz
http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/

@p6rt
Copy link
Author

p6rt commented Mar 19, 2009

From @moritz

Dupe due to local SMTP problems; sorry for the noise.

@p6rt
Copy link
Author

p6rt commented Mar 19, 2009

@moritz - Status changed from 'new' to 'rejected'

@p6rt p6rt closed this as completed Mar 19, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant