Skip to content

Add Support for Single Expression in if #4

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions