Skip to content

Commit

Permalink
Fix incorrect setting of $*DECLARATION_NAME for enums
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Dec 30, 2019
1 parent 097961b commit 693411a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -2904,8 +2904,8 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
$*W.throw($/, ['X', 'Redeclaration'],
symbol => $longname.name(),
);
$*DECLARATION_NAME := nqp::hllizefor($longname.name(), 'perl6');
}
$*DECLARATION_NAME := nqp::hllizefor($longname.name(), 'perl6');
}
| <variable>
| <?>
Expand Down

0 comments on commit 693411a

Please sign in to comment.