Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for Panda breakage on Win32, FROGGS++
  • Loading branch information
lizmat committed Nov 20, 2014
1 parent b8246f1 commit 8af3ebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/IO/Path.pm
Expand Up @@ -10,11 +10,11 @@ my class IO::Path is Cool {
has %!parts;

multi method ACCEPTS(IO::Path:D: IO::Path:D \other) {
nqp::p6bool(nqp::iseq_s($!path, nqp::unbox_s(other.path)));
nqp::p6bool(nqp::iseq_s($.abspath, nqp::unbox_s(other.path.abspath)));
}

multi method ACCEPTS(IO::Path:D: Mu \that) {
nqp::p6bool(nqp::iseq_s($!path,nqp::unbox_s(IO::Path.new(|that).path)));
nqp::p6bool(nqp::iseq_s($.abspath,nqp::unbox_s(IO::Path.new(|that).abspath)));
}

submethod BUILD(:$!path! as Str, :$!SPEC!, :$!CWD! as Str) { }
Expand Down

0 comments on commit 8af3ebe

Please sign in to comment.