Open QartemisT opened 4 years ago
Which version is this for?
The latest version (1.0.127)
I also have the same issue with the latest version (1.0.127) for any variable/function parameter upon their declaration.
You can see it on the screenshot below. Every parameter of animation
function as well as the three DEFAULT_*
variables are treated as Unused assignment (and highlighted with gray color), however all of them are used.
Ok, I have too many warning for this. Anyway to ignore this syntax rule ?
function init()
local needs = {} -- unused assignment
needs["type"] = "packet"
needs["filter"] = "alerts"
return needs
end
When using Lua classing, it reports the main variable as "unused" invalidly.
Example;