Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't merge symbols into Any's WHO
When loading precomp files, load_module is called without a GLOBALish, but with
Any instead. In that case, we shouldn't merge globals at all.
  • Loading branch information
niner committed Dec 13, 2015
1 parent db6e4d4 commit 5308479
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/CompUnit/RepositoryRegistry.pm
Expand Up @@ -197,7 +197,8 @@ RAKUDO_MODULE_DEBUG("Looking in $spec for $name")
),
)
);
GLOBALish.WHO.merge-symbols($compunit.handle.globalish-package.WHO);
GLOBALish.WHO.merge-symbols($compunit.handle.globalish-package.WHO)
if GLOBALish !=== Any;
$compunit
}
} )
Expand Down

0 comments on commit 5308479

Please sign in to comment.