This is an automatically generated mail to inform you that tests are now
available in t/spec/S02-builtin_data_types/array.t
commit d0df7b06ecf59256f0520d23b54d073cb965050b
Author: radus <ra...@c213334d-75ef-0310-aa23-eaa082d1ae64>
Date: Sat Aug 7 17:09:30 2010 +0000
[t/spec] added test for RT 77072 @a[*] does not work as slice of all indexes
git-svn-id: http://svn.pugscode.org/p...@31920
c213334d-75ef-0310-aa23-eaa082d1ae64
diff --git a/t/spec/S02-builtin_data_types/array.t
b/t/spec/S02-builtin_data_types/array.t
index 6a7752d..57c5f38 100644
--- a/t/spec/S02-builtin_data_types/array.t
+++ b/t/spec/S02-builtin_data_types/array.t
@@ -340,6 +340,14 @@ my @array2 = ("test", 1, Mu);
dies_ok { Mu.[0] }, 'but Mu has no .[]';
}
+#RT #77072
+
+#?rakudo skip 'RT 77072 star not working for array indexing yet - code fails'
+{
+ my @a = <1 2 3>;
+ is @a[*], <1 2 3> , 'using * to access all array elements works';
+}
+
done_testing;
# vim: ft=perl6