Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix export bug
  • Loading branch information
moritz committed May 8, 2012
1 parent 7a9b1e5 commit 4fd2558
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/traits.pm
Expand Up @@ -70,7 +70,8 @@ sub EXPORT_SYMBOL(\$exp_name, @tags, Mu \$sym) {
my @export_packages = $*EXPORT;
for pir::perl6ize_type__PP(@*PACKAGES) {
unless .WHO.exists('EXPORT') {
.WHO<EXPORT> := anon package EXPORT { };
.WHO<EXPORT> := Metamodel::PackageHOW.new_type(:name('EXPORT'));
.WHO<EXPORT>.^compose;
}
@export_packages.push: .WHO<EXPORT>;
}
Expand Down

0 comments on commit 4fd2558

Please sign in to comment.