Skip to content

Commit c28f587

Browse files
committed
Fix hang in S02-types/whatever.t
Flattening an infinit lazy list leads to and endless loop. We use Slip now to indicate that we want the list to be interpolated.
1 parent 4492a7f commit c28f587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S02-types/whatever.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ isa-ok (1..*-1)(10), Range, '(1..*-1)(10) is a Range';
116116
}
117117

118118
#?niecza skip 'hangs'
119-
is (0,0,0,0,0,0) >>+>> ((1,2) xx *).flat, <1 2 1 2 1 2>, 'xx * works';
119+
is (0,0,0,0,0,0) >>+>> (Slip(1,2) xx *), <1 2 1 2 1 2>, 'xx * works';
120120

121121
{
122122
is (1, Mu, 2, 3).grep(*.defined), <1 2 3>, '*.defined works in grep';

0 commit comments

Comments
 (0)