Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Necessary parentheses are removed #26

Open
macias0 opened this issue Jul 14, 2021 · 0 comments
Open

Necessary parentheses are removed #26

macias0 opened this issue Jul 14, 2021 · 0 comments

Comments

@macias0
Copy link

macias0 commented Jul 14, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant