Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change the signature of undefine to accept Mu too -- otherwise you ca…
…nnot undefine something twice at the moment.
  • Loading branch information
colomon committed Feb 25, 2010
1 parent b06dfe5 commit 2c553a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/operators.pm
Expand Up @@ -87,7 +87,7 @@ our multi prefix:sym<+^>($x) {
pir::bnot__PP($x)
}

our sub undefine(\$x) {
our sub undefine(Mu \$x) {
my $undefined;
$x = $undefined;
}
Expand Down

0 comments on commit 2c553a5

Please sign in to comment.