vscode-sqflint icon indicating copy to clipboard operation
vscode-sqflint copied to clipboard

False positive error on getOrDefault:

Open IR0NSIGHT opened this issue 3 years ago • 0 comments

_looters = missionNamespace getVariable ["looters", createHashMap]; _looters set [name _unit, (_looters getOrDefault [name _unit, 0]) + 1];

error code: Identifier(_looters) and Identifier(getOrDefault) is not a valid combination of expressions. Maybe there's missing semicolon?sq

will mark getOrDefault with a false positive error marking (red). v.0.11.0 on VSC

IR0NSIGHT avatar Mar 09 '21 18:03 IR0NSIGHT