Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow undef() to be rw (fixes RT #117777)
  • Loading branch information
Mouq committed Mar 12, 2015
1 parent 595ffe3 commit e84f718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/operators.pm
Expand Up @@ -253,7 +253,7 @@ multi sub infix:<…>(|c) { infix:<...>(|c) }
proto sub infix:<…^>(|) { * }
multi sub infix:<…^>(|c) { infix:<...^>(|c) }

sub undefine(Mu \x) { x = Nil }
sub undefine(Mu \x) is rw { x = Nil }

sub prefix:<temp>(\cont) is rw {
my $temp_restore := nqp::getlexcaller('!TEMP-RESTORE');
Expand Down

0 comments on commit e84f718

Please sign in to comment.