Skip to content

Commit

Permalink
[io grant] Remove type constraint in IO::Spec::Cygwin.canonpath
Browse files Browse the repository at this point in the history
To align its interface with all the other ::Spe::*.canonpaths
  • Loading branch information
zoffixznet committed Apr 9, 2017
1 parent f6be713 commit 0a442ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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, '\\', '/');

Expand Down

0 comments on commit 0a442ce

Please sign in to comment.