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
$^a can be used after $a in a block in Rakudo #847
Comments
From @masak<masak> rakudo: sub foo { my Compile-time error, perhaps? |
From @bbkr[16:19] <bbkr> rakudo: sub foo { my |
|
The RT System itself - Status changed from 'new' to 'open' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S06-signature/positional-placeholders.t commit 4a6027c4e5adc0ce1b7e83fcd0581e9673c45545 [t/spec] test for RT #64310, $^a after my $a Inline Patchdiff --git a/t/spec/S06-signature/positional-placeholders.t b/t/spec/S06-signature/positional-placeholders.t
index 4385a07..5584805 100644
--- a/t/spec/S06-signature/positional-placeholders.t
+++ b/t/spec/S06-signature/positional-placeholders.t
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 7;
+plan 8;
#L<S06/Placeholder variables/>
@@ -29,6 +29,9 @@ non_twigil(5);
eval_dies_ok( ' {$foo; $^foo;}(1) ',
'A non-twigil variable should not precede a corresponding twigil variable' );
+# RT #64310
+eval_dies_ok ' {my $foo; $^foo;}(1) ', 'my $foo; $^foo; is an illegal redeclaration';
+
# RT #74778
{
my $tracker = ''; |
From @moritzWorks now, test pass. |
|
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#64310 (status was 'resolved')
Searchable as RT64310$
The text was updated successfully, but these errors were encountered: