[perl #131239] where clause thunk's return value used for smartmatching

2017-04-30 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131239] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131239 > I expected these two forms to behave the same: m: my $ where .so && .name = sub foo

[perl #131239] where clause thunk's return value used for smartmatching

2017-04-30 Thread Zoffix Znet via RT
On Sun, 30 Apr 2017 17:11:08 -0700, c...@zoffix.com wrote: > I expected these two forms to behave the same: > > m: my $ where .so && .name = sub foo {} > rakudo-moar a2602b: OUTPUT: «Sub object coerced to string > (please use .gist or .perl to do that)␤ in block at line > 1␤» > m: my $ where

[perl #131239] where clause thunk's return value used for smartmatching

2017-04-30 Thread Zoffix Znet via RT
On Sun, 30 Apr 2017 17:11:08 -0700, c...@zoffix.com wrote: > I expected these two forms to behave the same: > > m: my $ where .so && .name = sub foo {} > rakudo-moar a2602b: OUTPUT: «Sub object coerced to string > (please use .gist or .perl to do that)␤ in block at line > 1␤» > m: my $ where

[perl #131239] where clause thunk's return value used for smartmatching

2017-04-30 Thread Zoffix Znet via RT
On Sun, 30 Apr 2017 18:47:16 -0700, c...@zoffix.com wrote: > The correct way to write that would be to use `&`. And .so on .name

[perl #131239] where clause thunk's return value used for smartmatching

2017-04-30 Thread Zoffix Znet via RT
On Sun, 30 Apr 2017 18:47:16 -0700, c...@zoffix.com wrote: > The correct way to write that would be to use `&`. And .so on .name

[perl #126935] [BUG] bad .perl for paths with pipe characters

2017-04-30 Thread Zoffix Znet via RT
Looks like the mentioned have been fixed some time ago. Added another test for leading combiners for good measure, in https://github.com/perl6/roast/commit/1ed18b4319

[perl #126935] [BUG] bad .perl for paths with pipe characters

2017-04-30 Thread Zoffix Znet via RT
Looks like the mentioned have been fixed some time ago. Added another test for leading combiners for good measure, in https://github.com/perl6/roast/commit/1ed18b4319

[perl #131185] [IO] IO::Path.perl doesn't roundtrip

2017-04-30 Thread Zoffix Znet via RT
On Thu, 20 Apr 2017 11:18:11 -0700, c...@zoffix.com wrote: > Filing this so I don't forget to fix it as part of the grant. > > IO::Path.perl passes named args to .IO coercer, but they're ignored: > > 18:16 Zoffix m: dd ".".IO.WHAT.new(".", > :SPEC(IO::Spec::Win32)).perl.EVAL.perl > 18:16 cam

[perl #131185] [IO] IO::Path.perl doesn't roundtrip

2017-04-30 Thread Zoffix Znet via RT
On Thu, 20 Apr 2017 11:18:11 -0700, c...@zoffix.com wrote: > Filing this so I don't forget to fix it as part of the grant. > > IO::Path.perl passes named args to .IO coercer, but they're ignored: > > 18:16 Zoffix m: dd ".".IO.WHAT.new(".", > :SPEC(IO::Spec::Win32)).perl.EVAL.perl > 18:16 cam