Skip to content

Commit

Permalink
Suppress spurious warnings in our $:: (fixes #127)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed May 25, 2012
1 parent 9615535 commit 3bb38e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NieczaActions.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -2932,6 +2932,8 @@ method variable_declarator($/) {
if !defined($v<name>) && ($scope ne any < my anon state >) {
$/.CURSOR.sorry("Scope $scope requires a name");
$v<name> = "anon";
$v<sigil> = '$';
$v<twigil> = $t = '';
}
if defined($v<pkg>) || defined($v<iname>) {
Expand Down

0 comments on commit 3bb38e5

Please sign in to comment.