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
infix:<:=> binding should bind to a list, not to an item in Rakudo #2102
Comments
From @masak<p6eval> rakudo df38ac: OUTPUT«(1, Any, Any, Any, Any, Any, Any, Any, |
From @masakOops. Missed a line at the beginning: <masak> rakudo: my @pascal := [1], -> @p { [0, @p Z+ @p, 0] } ... *; say @pascal[^10].perl On Thu Aug 26 16:55:29 2010, masak wrote:
|
@masak - Status changed from 'new' to 'open' |
From @pmichaudNow fixed in 51e3ff4; assigning ticket to moritz for spectesting. Thanks! Pm |
@moritz - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in S03-operators/binding-scalars.t commit 6a095360415445b153a46db4eb3c892876a0659f test for RT #77462: binding should have list assignment precedence Inline Patchdiff --git a/S03-operators/binding-scalars.t b/S03-operators/binding-scalars.t
index daeca8e..109167e 100644
--- a/S03-operators/binding-scalars.t
+++ b/S03-operators/binding-scalars.t
@@ -10,7 +10,7 @@ These tests are derived from the "Item assignment precedence" section of Synopsi
=end head1 Binding tests
-plan 28;
+plan 29;
# Basic scalar binding tests
{
@@ -132,4 +132,11 @@ plan 28;
ok($a == 1 && ~@tail eq '2 3', 'bound slurpy');
}
+# RT #77462
+# binding how has the same precedence as list assignment
+{
+ my $x := 1, 2;
+ is $x.join, '12', 'binding has same precdence as list assignment'
+}
+
# vim: ft=perl6 |
Migrated from rt.perl.org#77462 (status was 'resolved')
Searchable as RT77462$
The text was updated successfully, but these errors were encountered: