ceylon/ceylon-js — comment on commit a9798bc7bac0f2f6819c3fced1c414b7d07016f8
File:  line 0
By ikasiuk:

I think `print(exists x else "no X")` makes no sense because the lhs of `else` must be an optional type but `exists x` is a `Boolean`. You can write `print(exists x then "X" else "no X")` but in in any case the `exists` in this statement is an exists expression (type `Exists`), not an `ExistsCondition`. Actually, the `print(exists...)` example should already work since you already implemented `visit(Exists)` :-)

I guess an `ExistsCondition` also occurs in `while (exists...)`. Maybe we can reuse some code there. I'll probably do that next.