Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make my $a will begin { $_ = 42 } work
  • Loading branch information
lizmat committed May 7, 2015
1 parent af823c9 commit a34d024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/ChangeLog
Expand Up @@ -12,8 +12,8 @@ New in 2015.05
+ Deprecations:
+ List/Supply.rotor now *must* have elems and gap specified
+ Fixes:
+ Hashes yse much less memory on Moar
+ my $a will enter/leave/keep/undo/fist/pre now set $_ properly
+ Hashes use much less memory on Moar
+ my $a will begin/enter/leave/keep/undo/first/pre now set $_ properly
+ List.roll(Inf) now knows it's infinite, so is lazy

New in 2015.04
Expand Down
2 changes: 1 addition & 1 deletion src/core/Variable.pm
Expand Up @@ -132,7 +132,7 @@ multi sub trait_mod:<will>(Variable:D $v, $block, |c ) {
);
}
multi sub trait_mod:<will>(Variable:D $v, $block, :$begin! ) {
$block(); # no need to delay execution
$block($v.var); # no need to delay execution
}
multi sub trait_mod:<will>(Variable:D $v, $block, :$check! ) {
$*W.add_phaser($v.slash, 'CHECK', $block);
Expand Down

0 comments on commit a34d024

Please sign in to comment.