Skip to content

Commit 671baf4

Browse files
committed
Avoid spurious warnings in output
1 parent 896d43f commit 671baf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

S32-list/grep.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ my @list = (1 .. 10);
118118

119119
# Bool handling
120120
{
121+
temp $_ = 42;
121122
throws-like { grep $_ == 1, 1,2,3 }, X::Match::Bool;
122123
throws-like { (1,2,3).grep: $_== 1 }, X::Match::Bool;
123124
is grep( Bool,True,False,Int ), (True,False), 'can we match on Bool as type';

0 commit comments

Comments
 (0)