Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a Generator export bug
moritz++ and FROGGS++ for reminding me to look at ancient code critically.
  • Loading branch information
Geoffrey Broadwell committed Nov 23, 2013
1 parent 2c3c677 commit 49c7d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PB/Model/Generator.pm
Expand Up @@ -152,6 +152,6 @@ our sub EXPORT(*@args) {

# export these symbols
%(gather for $gen.all-classes -> $name, $class {
take '&' ~ $name => sub { $class } unless $name eq ANON_NAME;
take $name => $class unless $name eq ANON_NAME;
});
}

0 comments on commit 49c7d75

Please sign in to comment.