About 14% of produced programs have an error attempt to assign to const variable.
for Name0 in pairs({}) do
Name0 = 'Name'
end;
Reproduced with latest Lua versions (master, 5.5+).
$ lua -v
Lua 5.5.0 Copyright (C) 1994-2025 Lua.org, PUC-Rio
$ lua const.lua
lua: const.lua:2: attempt to assign to const variable 'Name0'
$ luajit -v
LuaJIT 2.1.1748504477 -- Copyright (C) 2005-2025 Mike Pall. https://luajit.org/
$ ~/sources/cache/LuaJIT/src/luajit const.lua
$