SUPER STRICT for LUA

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
ivan
Party member
Posts: 1911
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: SUPER STRICT for LUA

Post by ivan »

Good news, everybody!
Super Strict can now detect duplicate values and arguments:

Code: Select all

for b, b in pairs(t) do
  -- duplicate lvariable 'b'
end
c, c = 1, 2 -- duplicate variable 'c'
function (d, d)
  -- duplicate argument 'd'
end
Due to the way that metatables work this new check will not trigger errors when using the dot operator (for example: a = {} a.b, a.b = 1, 2)
Post Reply

Who is online

Users browsing this forum: No registered users and 56 guests