Skip to content

';' is only allowed in block expressions #21

@JanKoehnlein

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions