Skip to content

Commit

Permalink
Fix for role Foo[::T] does Bar[T] { ... }.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 6, 2010
1 parent 0cc0f71 commit efd82ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Perl6/Grammar.pm
Expand Up @@ -153,6 +153,7 @@ token def_module_name {
[
<?before '['>
<?{ $*PKGDECL eq 'role' }>
:my $*SCOPE := 'my';
'[' ~ ']' <signature>
]?
}
Expand Down

0 comments on commit efd82ce

Please sign in to comment.