golo-lang/golo-lang — pull request #49 by jponge (2013-06-09 14:39:49+00:00)
Title: Partial evaluation of boolean expressions

The previous implementation evaluated both sides of a boolean expression, meaning that:

(foo isnt null) and (foo: bar())

would raise a NPE when `foo` is null, as `foo: bar()` would be evaluated, too. This commit shortcuts
evaluation of `and` and `or`.

Fixes #36