Skip to content

Commit

Permalink
Add test for #82790
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Nov 9, 2015
1 parent 74ea399 commit c22042a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S02-names-vars/contextual.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 24;
plan 25;

# L<S02/Names/"for the identifier of the variable">

Expand Down Expand Up @@ -80,5 +80,7 @@ nok foo().defined, 'contextual $*VAR is undefined';

# RT #74756
throws-like 'say $*a; my $*a;', X::Dynamic::Postdeclaration, symbol => '$*a';
# RT #82790
throws-like 'my $*a::foo', X::Dynamic::Package, symbol => '$*a::foo';

# vim: ft=perl6

0 comments on commit c22042a

Please sign in to comment.