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 can't parse '[][]' #1574
Comments
From @masak<masak> std: [][] |
From @jnthnOn Thu Mar 04 14:49:00 2010, masak wrote:
Musta got fixed somewhere along the road, since it parses it now: 15:46 <@jnthn> rakudo: [][] Giving to moritz++ for spectests. Thanks, Jonathan |
The RT System itself - Status changed from 'new' to 'open' |
@moritz - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-builtin_data_types/array.t commit f3c51207d68c790b8ec8c76e9b12470a9490507c [t/spec] test for RT #73308, [][] Inline Patchdiff --git a/t/spec/S02-builtin_data_types/array.t b/t/spec/S02-builtin_data_types/array.t
index 008dd95..f9524ed 100644
--- a/t/spec/S02-builtin_data_types/array.t
+++ b/t/spec/S02-builtin_data_types/array.t
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 95;
+plan 96;
#L<S02/Mutable types/Array>
@@ -320,4 +320,9 @@ my @array2 = ("test", 1, Mu);
dies_ok({push @arr, 4.2}, 'type constraints on my Type @arr[num] works (2)');
}
+# RT #73308
+{
+ is [][].elems, 0, '[][] returns empty list/array';
+}
+
# vim: ft=perl6 |
Migrated from rt.perl.org#73308 (status was 'resolved')
Searchable as RT73308$
The text was updated successfully, but these errors were encountered: