diff --git a/src/core/IO/Spec/Cygwin.pm b/src/core/IO/Spec/Cygwin.pm index ea63a012747..0f017e334e7 100644 --- a/src/core/IO/Spec/Cygwin.pm +++ b/src/core/IO/Spec/Cygwin.pm @@ -1,6 +1,6 @@ my class IO::Spec::Cygwin is IO::Spec::Unix { - method canonpath (Cool:D $patharg, :$parent) { + method canonpath ($patharg, :$parent) { my $path = $patharg.Str; $path.=subst(:g, '\\', '/');