summaryrefslogtreecommitdiff
path: root/lib/Type/Library.pm
diff options
context:
space:
mode:
authorToby Inkster <mail@tobyinkster.co.uk>2022-09-27 21:23:57 +0100
committerToby Inkster <mail@tobyinkster.co.uk>2022-09-27 21:23:57 +0100
commite20c0cc9dbb8495180a5cf0bc40669b2f539fb0a (patch)
tree5fea30762bc58f9b2a802a3cf2c5715f2a10c584 /lib/Type/Library.pm
parent18b312d26dd320b17ae643bc336bd91bf5479e52 (diff)
Fix typo
Diffstat (limited to 'lib/Type/Library.pm')
-rw-r--r--lib/Type/Library.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Type/Library.pm b/lib/Type/Library.pm
index 9d566d73..2320b7dc 100644
--- a/lib/Type/Library.pm
+++ b/lib/Type/Library.pm
@@ -272,7 +272,7 @@ sub _remove_type {
push @clean, $name;
&$_scrub( \@{"$class\::EXPORT_OK"}, $name );
for my $t ( @{ $exportable->{tags} } ) {
- &$_scrub( ${"$class\::EXPORT_TAGS"}{$t} ||= {}, $name );
+ &$_scrub( ${"$class\::EXPORT_TAGS"}{$t} ||= [], $name );
}
delete $meta->{'functions'}{$name};
}