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
Ranges and hyper-ops don't mix #1709
Comments
From @colomoncolomon: rakudo: (-<<(1..10)).perl.say jnthn: rakudo: (-<<(1..10)) -- |
From @cokeOn Tue Apr 20 07:47:45 2010, Solomon wrote:
All of these now work. Assigning to moritz++ for testing. -- |
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/S03-metaops/hyper.t commit 04675adc7064fc85c97811a4ac4dac8d4861abc0 [t/spec] test for RT #74530, hyper ops and ranges should mix Inline Patchdiff --git a/t/spec/S03-metaops/hyper.t b/t/spec/S03-metaops/hyper.t
index 0d09abd..f3df177 100644
--- a/t/spec/S03-metaops/hyper.t
+++ b/t/spec/S03-metaops/hyper.t
@@ -716,6 +716,11 @@ my @e;
eval_lives_ok '10 >>+++<< 14', 'can use hypers with local scoped user-defined operators';
}
+# RT #74530
+{
+ is ~(-<<(1..3)), '-1 -2 -3', 'ranges and hyper ops mix';;
+}
+
done_testing;
# vim: ft=perl6 |
Migrated from rt.perl.org#74530 (status was 'resolved')
Searchable as RT74530$
The text was updated successfully, but these errors were encountered: