Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MAKE-ABSOLUTE-PATH only takes Str
  • Loading branch information
lizmat committed Dec 22, 2014
1 parent c43d3b0 commit c08b117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IOU.pm
Expand Up @@ -5,7 +5,7 @@ my class IOU does IO::Locally {
has $!that;

submethod BUILD(:$!this,:$!rest,:$!abspath) { }
method new($this, :$CWD = $*CWD, |c) {
method new($this, :$CWD as Str = $*CWD, |c) {
my $abspath := MAKE-ABSOLUTE-PATH($this,$CWD);
self!what($abspath,|c) # either a IO::Local object
// self.bless(:$this,:rest(c),:$abspath); # or a placeholder
Expand Down

0 comments on commit c08b117

Please sign in to comment.