# New Ticket Created by  Michael Chajkowski 
# Please include the string:  [perl #123490]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123490 >


Running This is perl6 version 2014.12-30-g8154bd3 built on MoarVM
version 2014.12

Found problem with the following:

my $file = "test.txt".IO;
$file.WHAT.say; # IO::Path
$file.open;
$file.WHAT.say; # IO::Path

If, I change this to ...

my $file = "test.txt".IO.open;
$file.WHAT.say; # IO::Handle.

The final outcome of these two sections of code should be identical.


Reply via email to