Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix type constraint
  • Loading branch information
lizmat committed Dec 22, 2014
1 parent 4f9ae38 commit e51bead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO/Dir.pm
Expand Up @@ -32,7 +32,7 @@ my class IO::Dir is Cool does IO::Locally {

method rmdir(IO::Dir:D:) { REMOVE-DIR($!abspath) }

method dirname(IO::Local:D:) {
method dirname(IO::Dir:D:) {
self!parts;
'/' ~ @!parts[1 .. *-3].join('/');
}
Expand Down

0 comments on commit e51bead

Please sign in to comment.