Skip to content

Commit

Permalink
Revert "Use "is default" for IO::Handle atttributes"
Browse files Browse the repository at this point in the history
This reverts commit c63c57e.

Hopefully fix the problems in IO::String.
  • Loading branch information
lizmat committed Aug 8, 2017
1 parent a91ad2d commit 6745517
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/IO/Handle.pm
Expand Up @@ -5,9 +5,9 @@ my class Proc { ... }
my class IO::Handle {
has $.path;
has $!PIO;
has $.chomp is rw is default(True);
has $.nl-in is default(["\x0A", "\r\n"]);
has Str:D $.nl-out is rw is default("\n");
has $.chomp is rw = Bool::True;
has $.nl-in = ["\x0A", "\r\n"];
has Str:D $.nl-out is rw = "\n";
has Str $.encoding;
has Encoding::Decoder $!decoder;
has Encoding::Encoder $!encoder;
Expand Down

0 comments on commit 6745517

Please sign in to comment.