This module finds nil global variable use and adds the to the Lua log along with where they were read/written. This module is different from require('strict
| This module is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. |
| This template may have no transclusions. This is because it is intended largely for debugging the use of globals. |
This module finds nil global variable use and adds the to the Lua log along with where they were read/written. This module is different from require('strict') as you can see all nil global variables that are being read/written to rather than only getting an error for the first problematic global variable. The arg variable is excluded.
require('strict') - Creates error message for first encountered nil global read/write
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.