# New Ticket Created by  Brent Laabs 
# Please include the string:  [perl #118397]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118397 >


labster: r: sub foo { X::IO::Dir.new(path=>'a', os-error=>'b').fail }; my
@a = foo(); 1;
camelia: rakudo b2072f:  ( no output )
labster: r: sub foo { X::IO::Dir.new(path=>'a', os-error=>'b').fail }; my
@a := foo(); 1;
camelia: rakudo b2072f: OUTPUT«Failed to get the directory contents of 'a':
b␤  in method sink at src/gen/CORE.setting:10169␤  in method BUILDALL at
src/gen/CORE.setting:801␤  in method bless at src/gen/CORE.setting:743␤  in
method new at src/gen/CORE.setting:728␤  in method new at src/gen/CORE.…
labster: r: sub foo { X::IO::Dir.new(path=>'a', os-error=>'b').fail }; my
$a := foo(); 1;
camelia: rakudo b2072f:  ( no output )

Unless someone tells me this is not a bug -- but it seems like this would
be the correct approach when loading a lazy list.
labster: r: sub foo { X::IO::Dir.new(path=>'a', os-error=>'b').fail }; my @a = foo(); 1;
camelia: rakudo b2072f:  ( no output )
labster: r: sub foo { X::IO::Dir.new(path=>'a', os-error=>'b').fail }; my @a := foo(); 1;
camelia: rakudo b2072f: OUTPUT«Failed to get the directory contents of 'a': b␤  in method sink at src/gen/CORE.setting:10169␤  in method BUILDALL at src/gen/CORE.setting:801␤  in method bless at src/gen/CORE.setting:743␤  in method new at src/gen/CORE.setting:728␤  in method new at src/gen/CORE.…
labster: r: sub foo { X::IO::Dir.new(path=>'a', os-error=>'b').fail }; my $a := foo(); 1;
camelia: rakudo b2072f:  ( no output )

Unless someone tells me this is not a bug -- but it seems like this would be the correct approach when loading a lazy list.

Reply via email to