summaryrefslogtreecommitdiff
path: root/regen/feature.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regen/feature.pl')
-rwxr-xr-xregen/feature.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/regen/feature.pl b/regen/feature.pl
index 0844e44575..aaac912ca2 100755
--- a/regen/feature.pl
+++ b/regen/feature.pl
@@ -632,17 +632,17 @@ sub import {
sub unimport {
my $class = shift;
- if (my $features = current_bundle) {
- # Features are enabled implicitly via bundle hints.
- normalise_hints $features;
- }
-
# A bare C<no feature> should reset to the default bundle
if (!@_) {
$^H &= ~($hint_uni8bit|$hint_mask);
return;
}
+ if (my $features = current_bundle) {
+ # Features are enabled implicitly via bundle hints.
+ normalise_hints $features;
+ }
+
while (@_) {
my $name = shift;
if (substr($name, 0, 1) eq ":") {