ceylon/ceylon-compiler — Issue #267: while (exists ...) is an endless loop
Author: ikasiuk
Created: 2011-12-06 20:02:56+00:00
State: open

```
variable Natural? x := 0;
while (exists y = x) { x := null; }
```

This loop does not terminate. Apparently the condition is only evaluated once. In contrast, `while (x exists)` works as expected.