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
Accessing global variable in a class results in Null PMC access #734
Comments
From @masak<masak> rakudo: my |
From @pmichaudOn Wed, Jan 14, 2009 at 01:28:10AM -0800, Carl Mäsak wrote:
There's a known problem that we can't yet do outer lexicals from
Since the body of class declarations happens at BEGIN time, the Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzRakudo 08b789048: ./perl6 -e 'our $x; class Foo { $x = 3 }; say $x' -- |
From @jnthnOn Mon Mar 02 01:01:32 2009, mlenz@physik.uni-wuerzburg.de wrote:
Ah, that'll likely be because $x = 3 gets run before the our $x... Jonathan |
The RT System itself - Status changed from 'new' to 'open' |
From robert_strahl@yahoo.comOn Mon Mar 02 01:01:32 2009, mlenz@physik.uni-wuerzburg.de wrote:
This portion works: but the other part, not yet: |
From radu_cs85@yahoo.comAdded test in t/spec/S04-declarations/my.t. |
From @bbkrOn Kiev build: [12:05] <bbkr> rakudo: my But... [12:07] <jnthn> bbkr: We don't do anything with my $.foo yet in Rakudo afaik |
From @felliottHello, This is working in current rakudo and is passing the relevant test. I'm Cheers, |
@felliott - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#63588 (status was 'resolved')
Searchable as RT63588$
The text was updated successfully, but these errors were encountered: