Skip to content

Commit

Permalink
Revert "[io grant] Fix display of backslashes in IO::Path.gist"
Browse files Browse the repository at this point in the history
This reverts commit 475d9bc.
  • Loading branch information
zoffixznet committed Apr 29, 2017
1 parent 475d9bc commit 6ef2abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/IO/Path.pm
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ my class IO::Path is Cool does IO {
multi method Str (IO::Path:D:) { $!path }
multi method gist(IO::Path:D:) {
$!is-absolute
?? "{$.absolute.perl}.IO"
!! "{$.path.perl}.IO"
?? qq|"$.absolute".IO|
!! qq|"$.path".IO|
}
multi method perl(IO::Path:D:) {
$!is-absolute # attribute now set
Expand Down

0 comments on commit 6ef2abd

Please sign in to comment.