SUPER STRICT for LUA

Showcase your libraries, tools and other projects that help your fellow love users.
MrFariator
Party member
Posts: 243
Joined: Wed Oct 05, 2016 11:53 am

Re: SUPER STRICT for LUA

Post by MrFariator »

Couldn't get that one to specifically trigger, so I'm assuming it's working now. However, now I found a new issue regarding comments:

Code: Select all

return function ( item, other ) 
  if --[[other.isSlope or]] (other.isSolid and other.isPassable) then return "cross"
  elseif other.isSolid or other.isPlayer or other.isBreakable  then return "touch" end -- invalid expression 'elseif'
end
Removing the comment in line 2 will naturally stop sstrict from raising the error.
User avatar
ivan
Party member
Posts: 1719
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: SUPER STRICT for LUA

Post by ivan »

Another good catch. Thanks again and I have pushed another fix on bitbucket!
Also if you want to have a report of the errors without halting each time you can use: "require("sstrict").panic = false"
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests