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 call &my in Rakudo #1217
Comments
From @masak<masak> rakudo: my($a) = 5; say 'alive' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-names/identifier.t commit 03e3b22b950c72abd52962a6283ba2b8c8a4f2cb [t/spec] Test for RT #68358 Inline Patchdiff --git a/t/spec/S02-names/identifier.t b/t/spec/S02-names/identifier.t
index ef80800..551e2b2 100644
--- a/t/spec/S02-names/identifier.t
+++ b/t/spec/S02-names/identifier.t
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 14;
+plan 15;
# L<S02/Names/An identifier is composed of an alphabetic character>
@@ -60,4 +60,13 @@ plan 14;
is sub('RT #65804'), 'RT #65804', 'sub named "sub" works';
}
+# RT #68358
+{
+ my ($x);
+ sub my($a) { $a + 17 }
+ $x = 5;
+ #?rakudo todo 'RT #68358'
+ is my($x), 23, 'call to sub named "my" works';
+}
+
# vim: ft=perl6 |
The RT System itself - Status changed from 'new' to 'open' |
From @tadzikOn Mon Aug 10 09:55:44 2009, KyleHa wrote:
After fixing the test [1] it passes, so the ticket can be closed. |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#68358 (status was 'resolved')
Searchable as RT68358$
The text was updated successfully, but these errors were encountered: