Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Str.path should make an IOU, not an IO::Path
  • Loading branch information
lizmat committed Nov 29, 2014
1 parent 3be8fcd commit 17e652f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Str.pm
Expand Up @@ -1256,9 +1256,9 @@ my class Str does Stringy { # declared in BOOTSTRAP
nqp::p6box_i(nqp::chars(nqp::unbox_s(self)))
}

method path(Str:D:) returns IO::Path:D {
method path(Str:D: |c) {
DEPRECATED('IO', |<2014.11 2015.11>);
IO::Path.new(self)
IOU.new(self, |c);
}

method unival(Str:D:) { unival(self.ord) };
Expand Down

0 comments on commit 17e652f

Please sign in to comment.