On Sat, 03 Jun 2017 12:47:03 -0700, rightf...@gmail.com wrote:
> '-'.IO behaves as $*IN in some cases, like expected, but crashes with 
> slurp. '-'.IO.spurt works as expected; writing to $*OUT. It appears also 
> that '-'.IO is not very well tested in roast, and it is not documented 
> in the API documentation of IO::Path either, so maybe those points 
> should be addressed as well.
> 
>       $ perl6 --version
>       This is Rakudo version 2017.04.3 built on MoarVM version
> 2017.04-53-g66c6dda
>       implementing Perl 6.c.
>       $ perl6
>       To exit type 'exit' or '^D'
>       > '-'.IO.slurp
>       P6opaque: no such attribute '$!PIO' in type IO::Handle when trying
> to get a value
>         in block <unit> at <unknown file> line 1


Thank you for the report. This is now fixed.

Fix:  https://github.com/rakudo/rakudo/commit/90d129de8e7ae627
Test: https://github.com/perl6/roast/commit/60a7a88e479dceb902

Reply via email to