Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S32-hash/pairs] explicitly rw-ize pair elements for niecza and pugs
  • Loading branch information
sorear committed May 30, 2011
1 parent 1661645 commit 01c8d9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S32-hash/pairs.t
Expand Up @@ -72,7 +72,8 @@ Basic C<pairs> tests, see S32::Containers.

#?pugs todo 'bug'
{
my $pair = (a => 42);
my $var = 42;
my $pair = (a => $var);

lives_ok { for $pair.pairs -> $p {
$p.value += 100;
Expand Down

0 comments on commit 01c8d9e

Please sign in to comment.