andremm / typedlua

An Optional Type System for Lua
563 stars 53 forks source link

Fix some warnings pointed by luacheck. #74

Closed jvprat closed 8 years ago

jvprat commented 8 years ago

This commit reduces the number of warnings reported by luacheck from 153 to 50. Some of the left warnings may point to actual bugs, like these ones, but I'm not familiar enough with the code to decide on the proper solution:

typedlua/tltype.lua:583:43: accessing undefined variable trec
typedlua/tltype.lua:1052:39: accessing undefined variable Nil
andremm commented 8 years ago

Thanks for the pull request and sorry for taking so long to merge it.