Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove warnings (use of Any in string context)
  • Loading branch information
timo committed Jan 14, 2013
1 parent 055cb13 commit 60bc178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S04-declarations/my.t
Expand Up @@ -310,7 +310,7 @@ eval_lives_ok 'multi f(@a) { }; multi f(*@a) { }; f(my @a = (1, 2, 3))',
my & = { * - 5 };
is my @, Array.new, q{anonymous @ doesn't overshare};
is my %, ().hash, q{anonymous % doesn't overshare};
is my &, Any, q{anonymous & doesn't overshare};
ok (my &) eqv Any, q{anonymous sub doesn't overshare};
}

# vim: ft=perl6

0 comments on commit 60bc178

Please sign in to comment.