Skip to content

ast.to_lua_source adds unnecessary parenthesis for class (and maybe other) arguments #6

Open
@baurse

Description

@baurse
Class(AAirUnit) {
    bar
}

gets turned into

Class(AAirUnit)({
    bar
})

Note that not only are the parenthesis unecessary, the whitespace after the class call is missing as well.

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