lucheck tests and shadowing
We should also check tests with luacheck. And it might be possible to differentiate between shadowing on same scope and shadowing variable from upper scope. We shouldn't be shadowing on same scope, but we want to be able to shadow upper one.
-
Tests checked by luacheck -
Allow shadowing only upper scope, not all shadowing