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
3 % * dies with Ambiguous Dispatch #1262
Comments
From @moritzrakudo 4fc254: This used to work[tm] before the operator refactor thingies. Cheers, |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-builtin_data_types/whatever.t commit 3911c7a585882d8b8dc8ddc0af1d6ef6dd97dbcc [t/spec] test for RT #68894, $number % * Inline Patchdiff --git a/t/spec/S02-builtin_data_types/whatever.t b/t/spec/S02-builtin_data_types/whatever.t
index 57f6f5d..0f84517 100644
--- a/t/spec/S02-builtin_data_types/whatever.t
+++ b/t/spec/S02-builtin_data_types/whatever.t
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 23;
+plan 24;
# L<S02/Built-In Data Types/"The * character as a standalone term captures the notion of">
# L<S02/Native types/"If any native type is explicitly initialized to">
@@ -47,6 +47,14 @@ is @a, [1,2,3,4], '*.meth created closure works';
is @a, 1..4, 'array is unmodified after reference to [1..*]';
}
+# RT #68894
+#?rakudo skip 'RT 68894'
+{
+ my @a = <a b>;
+ my $t = join '', map { @a[$_ % *] }, 1..5;
+ is $t, 'ababa', '$_ % * works';
+}
+
{
my $x = +*;
isa_ok $x, Code, '+* is of type Code'; |
The RT System itself - Status changed from 'new' to 'open' |
From @pmichaudNow fixed in e005879. Thanks! Pm |
@pmichaud - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#68894 (status was 'resolved')
Searchable as RT68894$
The text was updated successfully, but these errors were encountered: