Skip to content

Redundant parens fixer should add spaces #15

@SquidDev

Description

@SquidDev

Consider the following:

print(not(a))

While somewhat dubious Lua, it is technically valid. However, when removing the redundant parenthesis, Lua rewrites this as the following, which is clearly not the same!

print(nota)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-lintersIssues relating to linters and code fixersbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions