Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a thinko.
  • Loading branch information
jnthn committed Apr 15, 2012
1 parent c384ab7 commit 64f70e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Expand Up @@ -1818,7 +1818,7 @@ grammar Perl6::Grammar is HLL::Grammar {
[
<longname>
{
my $longname := $*W.disect_longname($<longname>);
my $longname := $*W.disect_longname($<longname>[0]);
my @name := $longname.type_name_parts('subset name', :decl(1));
if $*W.already_declared($*SCOPE, $*PACKAGE, $*W.cur_lexpad(), @name) {
$*W.throw($/, ['X', 'Redeclaration'],
Expand Down

0 comments on commit 64f70e8

Please sign in to comment.