[perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-07-14 Thread jn...@jnthn.net via RT
On Wed, 28 Jun 2017 16:05:50 -0700, c...@zoffix.com wrote: > Works as expected: > 23:03 m: sub ($x is rw) {}(42) > camelia rakudo-moar 2a8d1e: OUTPUT: «Parameter '$x' expected > a writable container, but got Int value␤ in sub at line 1␤ > in block at line 1␤␤

[perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-07-14 Thread jn...@jnthn.net via RT
On Wed, 28 Jun 2017 16:05:50 -0700, c...@zoffix.com wrote: > Works as expected: > 23:03 m: sub ($x is rw) {}(42) > camelia rakudo-moar 2a8d1e: OUTPUT: «Parameter '$x' expected > a writable container, but got Int value␤ in sub at line 1␤ > in block at line 1␤␤

[perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-06-29 Thread Zoffix Znet via RT
On Thu, 29 Jun 2017 03:13:07 -0700, c...@zoffix.com wrote: > On Thu, 29 Jun 2017 00:45:02 -0700, elizabeth wrote: > > Shouldn’t: > > > > sub ($ is rw) { } > > > > be a compile-time error? I mean, there is no way to actually assign > > to the anonymous variable, is there? So there is no point in t

[perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-06-29 Thread Zoffix Znet via RT
On Thu, 29 Jun 2017 03:13:07 -0700, c...@zoffix.com wrote: > On Thu, 29 Jun 2017 00:45:02 -0700, elizabeth wrote: > > Shouldn’t: > > > > sub ($ is rw) { } > > > > be a compile-time error? I mean, there is no way to actually assign > > to the anonymous variable, is there? So there is no point in t

[perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-06-29 Thread Zoffix Znet via RT
On Thu, 29 Jun 2017 00:45:02 -0700, elizabeth wrote: > Shouldn’t: > > sub ($ is rw) { } > > be a compile-time error? I mean, there is no way to actually assign > to the anonymous variable, is there? So there is no point in the “is > rw”. So most likely indicates a typo on the user side. > Fe

[perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-06-29 Thread Zoffix Znet via RT
On Thu, 29 Jun 2017 00:45:02 -0700, elizabeth wrote: > Shouldn’t: > > sub ($ is rw) { } > > be a compile-time error? I mean, there is no way to actually assign > to the anonymous variable, is there? So there is no point in the “is > rw”. So most likely indicates a typo on the user side. > Fe

Re: [perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-06-29 Thread Elizabeth Mattijsen
Shouldn’t: sub ($ is rw) { } be a compile-time error? I mean, there is no way to actually assign to the anonymous variable, is there? So there is no point in the “is rw”. So most likely indicates a typo on the user side. > On 29 Jun 2017, at 01:05, Zoffix Znet (via RT) > wrote: > > # N

Re: [perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-06-29 Thread Elizabeth Mattijsen via RT
Shouldn’t: sub ($ is rw) { } be a compile-time error? I mean, there is no way to actually assign to the anonymous variable, is there? So there is no point in the “is rw”. So most likely indicates a typo on the user side. > On 29 Jun 2017, at 01:05, Zoffix Znet (via RT) > wrote: > > # N

[perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-06-28 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131673] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131673 > Works as expected: 23:03 m: sub ($x is rw) {}(42) camelia rakudo