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
@*INC isn't writable in Rakudo #1865
Comments
From @masak<masak> rakudo: @*INC.=reverse; say @*INC.perl |
From @pmichaudNow fixed in current Rakudo, assigning to moritz for spectest coverage. Pm |
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/S28-named-variables/inc.t commit 1f6b32e3b9ea370b8f10de64ce8f386f50aa2198 [t/spec] tests for RT #75956, @*INC should be writable Inline Patchdiff --git a/t/spec/S28-named-variables/inc.t b/t/spec/S28-named-variables/inc.t
index 4c3d462..449ef02 100644
--- a/t/spec/S28-named-variables/inc.t
+++ b/t/spec/S28-named-variables/inc.t
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 3;
+plan 5;
# Note that @*INC is only provisional until we have plans for a "real"
# module database in place.
@@ -18,4 +18,7 @@ is(+@*INC, $number_in_inc + 1, 'we added something to @INC');
pop @*INC;
is(+@*INC, $number_in_inc, 'we removed something from @INC');
+lives_ok { @*INC = <a b c> }, 'Can assign to @*INC';
+is @*INC.join(','), 'a,b,c', '... and assignment worked';
+
# vim: ft=perl6 |
From @moritzCovered, resolving |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#75956 (status was 'resolved')
Searchable as RT75956$
The text was updated successfully, but these errors were encountered: