reverted c63c57e9a823303e74c06 for now
> On 8 Aug 2017, at 12:21, Zoffix Znet (via RT) <perl6-bugs-follo...@perl.org> > wrote: > > # New Ticket Created by Zoffix Znet > # Please include the string: [perl #131858] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=131858 > > > > Currently, this causes breakage in IO::String > > zoffix@VirtualBox~$ perl6 -e 'class Z is IO::Handle { method x { dd > $.nl-in } }.new.x;' > > > $["\n"] > > zoffix@VirtualBox~$ perl6 -v > This is Rakudo version 2017.07-138-ga91ad2d built on MoarVM version > 2017.07-318-g604da4d > > Above, it should give the two-element array, with "\r\n" as another element. > > AlexDaniel bisected my original code[^1] to point to > https://gist.github.com/Whateverable/b26f4103f5da0809e11749b50fdbabb4 > ¦c63c57e9a823^: «"hello,"» ¦c63c57e: «"hello,\r\nworld!\r\n"» > > I tried to golf it further, by taking all the relevant bits from IO::Handle > into a custom class, but failed to reproduce the issue then. > > [1] https://gist.github.com/zoffixznet/0c2cbd7acaaf0d3b27d245ad2e2bc737