Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Undeprecate some things until 2014.10
  • Loading branch information
lizmat committed Oct 3, 2014
1 parent 07d6050 commit 041c89a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/core/IO/Path.pm
Expand Up @@ -35,7 +35,7 @@ my class IO::Path is Cool does IO::FileTestable {
:$SPEC = $*SPEC,
:$CWD = $*CWD,
) {
DEPRECATED(':dirname', :what<IO::Path.new with :directory>);
# DEPRECATED(':dirname', :what<IO::Path.new with :directory>); # after 2014.10
self.bless(
:path($SPEC.join($volume,$directory,$basename)), :$SPEC, :$CWD);
}
Expand Down Expand Up @@ -255,7 +255,7 @@ my class IO::Path is Cool does IO::FileTestable {
}

method contents(IO::Path:D: |c) {
DEPRECATED('dir');
# DEPRECATED('dir'); # after 2014.10
self.dir(|c);
}

Expand Down Expand Up @@ -352,7 +352,7 @@ my class IO::Path is Cool does IO::FileTestable {
}

method directory() {
DEPRECATED("dirname");
# DEPRECATED("dirname"); # after 2014.10
self.dirname;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/IO/Spec/Unix.pm
Expand Up @@ -156,7 +156,7 @@ my class IO::Spec::Unix is IO::Spec {
}

method no-parent-or-current-test {
DEPRECATED('curupdir');
# DEPRECATED('curupdir'); # after 2014.10
none('.', '..');
}
}
Expand Down

0 comments on commit 041c89a

Please sign in to comment.