natural/java2python — Issue #4: Add Support for Single Expression in `if`
Author: troymelhase
Created: 2012-02-06 02:37:19+00:00
State: open

Issue originally opened here:

http://code.google.com/p/java2python/issues/detail?id=45

The original problem is no longer present, however, the attached file does not translate correctly for a different reason.

Need to support the form:

if (expr)
foo
else {
bar
}

And the form:

if (expr)
foo
else
foo