[perl #129812] [OPTIMIZER] `is rw` candidates get called even if a non-rw argument is passed

2017-11-10 Thread Christian Bartolomaeus via RT
On Thu, 21 Sep 2017 16:27:09 -0700, b...@abrij.org wrote: > On Sat, 05 Aug 2017 06:28:34 -0700, jan-olof.hen...@bredband.net > wrote: > > On Wed, 05 Oct 2016 14:23:57 -0700, c...@zoffix.com wrote: > > > > > > This code shows the bug: > > > > > > zoffix@leliana:~$ perl6 -e 'm: multi foo ($)

[perl #129812] [OPTIMIZER] `is rw` candidates get called even if a non-rw argument is passed

2017-09-21 Thread Brian S. Julin via RT
On Sat, 05 Aug 2017 06:28:34 -0700, jan-olof.hen...@bredband.net wrote: > On Wed, 05 Oct 2016 14:23:57 -0700, c...@zoffix.com wrote: > > > > This code shows the bug: > > > > zoffix@leliana:~$ perl6 -e 'm: multi foo ($) {"right" }; multi > > foo ($ is rw) {"wrong"}; say foo "42"' > > wrong > > > >

[perl #129812] [OPTIMIZER] `is rw` candidates get called even if a non-rw argument is passed

2017-08-05 Thread Jan-Olof Hendig via RT
On Wed, 05 Oct 2016 14:23:57 -0700, c...@zoffix.com wrote: > > This code shows the bug: > > zoffix@leliana:~$ perl6 -e 'm: multi foo ($) {"right" }; multi > foo ($ is rw) {"wrong"}; say foo "42"' > wrong > > And if we turn off the optimizer, we get the right candidate called >

[perl #129812] [OPTIMIZER] `is rw` candidates get called even if a non-rw argument is passed

2016-10-05 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #129812] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129812 > This code shows the bug: zoffix@leliana:~$ perl6 -e 'm: multi foo ($) {"right" };