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
Rakudo allows reference to variables before their declaration #535
Comments
From @masakRakudo r34628: $ perl6 -e 'my $a = $b' $ perl6 -e 'my $a = $b; my $b' # Compiles and runs! |
From @moritzCarl MXXsak (via RT) wrote:
This is actually the first test in t/spec/S04-declarations/my.t (or Cheers, |
The RT System itself - Status changed from 'new' to 'open' |
From @masak<masak> rakudo: my @a = $b; my $b = 5 |
From @moritz00:49 < p6eval> rakudo c26021: OUTPUT«Null PMC access in isa()current -- |
From @masakOn Thu Mar 19 16:56:41 2009, mlenz@physik.uni-wuerzburg.de wrote:
Wait, where's the code? |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzCarl Mäsak via RT wrote:
I shouldn't submit tickets late at night... rakudo: say $x; my $x=4 There you go. (I think we have tests for that in t/spec/S04-declarations/my.t, but I'm Cheers, |
From radu_cs85@yahoo.comThe following code outputs <Any()> instead of giving <symbol not predeclared> error: say $a; <radu_> rakudo: sub foo() {say $test; }; my $test = foo();
|
From @masak<Util> rakudo: sub foo ( ) { say 2*$lexical }; my $lexical = 4; foo(); I found these tickets which are similar but not the same: |
From @moritzNow fixed in rakudo commit d307831, unfudged test in |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#61838 (status was 'resolved')
Searchable as RT61838$
The text was updated successfully, but these errors were encountered: