PR for tests and update to spectest.data https://github.com/perl6/roast/pull/212 rakudo/rakudo#986 <https://github.com/rakudo/rakudo/pull/986>
On Sun, Jan 1, 2017 at 6:53 PM, Zoffix Znet via RT < perl6-bugs-follo...@perl.org> wrote: > On Sat, 31 Dec 2016 19:20:05 -0800, dougljenk...@gmail.com wrote: > > The constructor for IO::Socket::INET has a parameter ':family' to > determine > > if the host/localhost > > value is defined using IPv4 (2) or IPv6 (3). > > > > However the constructor will accept any value and default to IPv4 (2) if > > the value is not IPv3 (3). > > > > Per discussion on IRC this behavior is LTA and should instead fail on > > invalid values: > > https://irclog.perlgeek.de/perl6/2016-12-28 > > > > E.g. > > my $listener = IO:Socket::INET.new( > > :family(11), > > :localhost<localhost> > > :localport(3000) > > ) > > Should fail > > > Fixed in https://github.com/rakudo/rakudo/commit/ > c1e0d8fbef03bfeed19818ac6a0484e572cbf77f > > Marking TESTNEEDED. >