We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c4c63 commit 9ae6772Copy full SHA for 9ae6772
.luarc.json
@@ -1,8 +1,5 @@
1
{
2
"diagnostics": {
3
- "globals": [
4
- "jit"
5
- ],
6
"groupFileStatus": {
7
"unused": "Any"
8
},
json.lua
@@ -222,6 +222,7 @@ function encode_map.table(t)
222
if t[1] == nil then
223
error("invalid table: sparse array is not supported")
224
end
225
+ ---@diagnostic disable-next-line: undefined-global
226
if jit and t[0] ~= nil then
227
-- 0 is the first index in luajit
228
error("invalid table: mixed or invalid key types: "..0)
0 commit comments