Permalink
Browse files

Suppress spurious warnings in our $:: (fixes #127)

  • Loading branch information...
1 parent 9615535 commit 3bb38e544c7d74ce320bf579464cf7c166cd11e6 @sorear committed May 25, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/NieczaActions.pm6
View
@@ -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>) {

0 comments on commit 3bb38e5

Please sign in to comment.