Skip to content

Detect missing brackets #59

@MildlyInterested

Description

@MildlyInterested

In a quest to use the least amount of brackets possible I've run into edgecase where warning for missing brackets would be usesful.

{_radios append [_x, _corpse] call acre_api_fnc_getAllRadiosByType;} forEach _radioTypesToRestore;

will forEach _x and ignore the function call so _radios will equal _radioTypesToRestore.
The correct syntax is this:

{_radios append ([_x, _corpse] call acre_api_fnc_getAllRadiosByType);} forEach _radioTypesToRestore;

A warning for cases like this would be nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions