Permalink
Browse files

Additional fudging for Niecza.

  • Loading branch information...
1 parent 2b9944e commit b2c8ad2728b8ded7538e047c5afac514f2d5f7e7 @colomon colomon committed Apr 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 S04-declarations/state.t
View
@@ -238,6 +238,7 @@ eval_lives_ok 'if 0 { \(state $) }', '$) not misinterpreted in capterm';
my $func = { state $x = $i++; $x };
my ($a, $b) = $func.clone, $func.clone;
is $a(), 0, 'state was initialized correctly for clone 1';
+ #?niecza todo
is $b(), 1, 'state was initialized correctly for clone 2';
is $a(), 0, 'state between clones is independent';
}

0 comments on commit b2c8ad2

Please sign in to comment.