Skip to content
Browse files

Unbreak zef

Apparently we're not allowed to initaliaze the mapping of short-id to
class at BEGIN time.  Perhaps the stubs got compiled in?
  • Loading branch information...
lizmat committed Oct 9, 2018
1 parent 0425d92 commit 8e1cd01aa759f00dfd94f5356b8ecebd889bed69
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/CompUnit/RepositoryRegistry.pm6
@@ -338,7 +338,7 @@ class CompUnit::RepositoryRegistry {

# No need to do difficult things at startup when we can precompile this
# into the setting.
BEGIN my %short-id2class = (
my %short-id2class = (
'file', CompUnit::Repository::FileSystem,
'inst', CompUnit::Repository::Installation,
'ap', CompUnit::Repository::AbsolutePath,

0 comments on commit 8e1cd01

Please sign in to comment.
You can’t perform that action at this time.