Skip to content

';' is only allowed in block expressions #21

Description

@JanKoehnlein

public class Foo {
public String foo() {
if(1>2) return "foo";
else return "bar";
}
}

Will be converted to

class Foo {
def foo(){
if (1 > 2) return 'foo';
else return 'bar';
}
}

which has syntax errors, as the ';' are only allowed within block epressions

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions