> On 16 Dec 2015, at 12:31, Zefram (via RT) <perl6-bugs-follo...@perl.org> 
> wrote:
> 
> # New Ticket Created by  Zefram 
> # Please include the string:  [perl #126935]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=126935 >
> 
> 
> The .perl method for IO::Path objects produces faulty output:
> 
>> "/foo|bar".IO.perl
> q|/foo|bar|.IO(:SPEC(IO::Spec::Unix))
>> "/foo|bar".IO.perl.EVAL
> ===SORRY!=== Error while compiling /home/zefram/usr/lucifex/on_guile/EVAL_2
> Two terms in a row
> at /home/zefram/usr/lucifex/on_guile/EVAL_2:1
> ------> q|/foo|^bar|.IO(:SPEC(IO::Spec::Unix))
>    expecting any of:
>        infix
>        infix stopper
>        statement end
>        statement modifier
>        statement modifier loop

$ 6 'say "/foo|\\bar".IO.perl.EVAL'
"/foo|\bar".IO

Fixed with 8d50dabfa9a3b690b18a , test added with e41c6617855b61678544f9 , can 
be closed.


Liz

Reply via email to