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.
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"