Skip to content

Commit

Permalink
Update to reflect new restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
chochos committed May 2, 2012
1 parent f903853 commit c7f5a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ceylon/flow/flow.ceylon
Expand Up @@ -88,8 +88,8 @@ void testIfExists() {
}
variable Integer cnt := 0;
String? s5 { ++cnt; return "ok"; }
if (exists s5) {
assert(s5=="ok", "if (exists x) with getter [value: " s5 "]");
if (exists _s5=s5) {
assert(_s5=="ok", "if (exists x) with getter [value: " _s5 "]");
} else {
fail("if (exists x) with getter [exists]");
}
Expand Down

0 comments on commit c7f5a44

Please sign in to comment.