# New Ticket Created by mt1957
# Please include the string: [perl #131242]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=131242 >
With Rakudo version 2017.04.3-66-g7648793 built on MoarVM version
2017.04-44-gf0db882
implementing Perl 6.c. on a system (uname -a) Linux h03-fedora
4.10.11-100.fc24.x86_64 #1 SMP Tue Apr 18 17:25:04 UTC 2017 x86_64
x86_64 x86_64 GNU/Linux
I see the following problem
Moving a file where destination is the same as its source, two things
can happen a) program hangs or b) file is deleted. I would expect an
X::IO::Move exception with a proper message.
Example.: 'abc.txt'.IO.move('abc.txt');
Regards,
Marcel