Skip to content

Commit 60bc178

Browse files
committed
remove warnings (use of Any in string context)
1 parent 055cb13 commit 60bc178

File tree

1 file changed

+1
-1
lines changed
  • S04-declarations

1 file changed

+1
-1
lines changed

S04-declarations/my.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ eval_lives_ok 'multi f(@a) { }; multi f(*@a) { }; f(my @a = (1, 2, 3))',
310310
my & = { * - 5 };
311311
is my @, Array.new, q{anonymous @ doesn't overshare};
312312
is my %, ().hash, q{anonymous % doesn't overshare};
313-
is my &, Any, q{anonymous & doesn't overshare};
313+
ok (my &) eqv Any, q{anonymous sub doesn't overshare};
314314
}
315315

316316
# vim: ft=perl6

0 commit comments

Comments
 (0)