You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This splits `Variable.used` into `Variable.has_been_read_from` and
`Variable.has_been_written_to`. This allows us to catch bad code of the
form
do
local foo = bar()
foo = baz()
end
Half closesteal-language#800
Luacheck has two warnings of this kind:
The latter may need more flow checking, but the former should be more easily doable, similar to how we deal with our "unused variable" warnings.
The text was updated successfully, but these errors were encountered: