Skip to content

Necessary parentheses are removed #26

@macias0

Description

@macias0

Input:

function x:PosToAbsolute( x, y )
    return ( x - 1 ) * self.width, ( y - 1 ) * self.height
end

Output:

function x:PosToAbsolute( x, y )
    return x - 1 * self.width, y - 1 * self.height -- <<== no parentheses
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions