Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A child of Dir is not necessarily a Dir
  • Loading branch information
lizmat committed Nov 30, 2014
1 parent 8c062d1 commit c73c0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO/Dir.pm
Expand Up @@ -11,7 +11,7 @@ my class IO::Dir is Cool does IO::Local {

method child(IO::Dir:D: $child) {
$child
?? self.new(:abspath($!abspath ~ $child ~ '/'),:check)
?? IOU.new($!abspath ~ $child,:check)
!! self;
}

Expand Down

0 comments on commit c73c0b1

Please sign in to comment.