summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Type/Params/Alternatives.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Type/Params/Alternatives.pm b/lib/Type/Params/Alternatives.pm
index 6372748d..27f54f0b 100644
--- a/lib/Type/Params/Alternatives.pm
+++ b/lib/Type/Params/Alternatives.pm
@@ -98,6 +98,8 @@ sub _build_coderef {
$self->_coderef_start( $coderef );
+ $coderef->add_line( 'undef ${^TYPE_PARAMS_MULTISIG};' );
+ $coderef->add_gap;
$coderef->add_line( 'my $return;' );
$coderef->add_gap;