Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reminder about a bug
  • Loading branch information
lizmat committed Nov 3, 2014
1 parent 5f9a6be commit 02fad28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/IO/Local.pm
Expand Up @@ -18,12 +18,12 @@ my role IO::Local {
method !parts() { @!parts = $!abspath.split('/') unless @!parts }
method volume(IO::Local:D:) {
# self!parts; # runtime failure
@!parts = $!abspath.split('/') unless @!parts;
@!parts = $!abspath.split('/') unless @!parts; # remove if above ok
@!parts[0];
}
method dirname(IO::Local:D:) {
#self!parts; # runtime failure
@!parts = $!abspath.split('/') unless @!parts;
@!parts = $!abspath.split('/') unless @!parts; # remove if above ok
@!parts[1 .. *-2].join('/');
}
method basename(IO::Local:D:) { MAKE-BASENAME($!abspath) }
Expand Down

0 comments on commit 02fad28

Please sign in to comment.