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 c7827e4 commit 870ec95Copy full SHA for 870ec95
lib/ngx/errlog.lua
@@ -18,6 +18,7 @@ local num_value = ffi_new("double[1]")
18
local getfenv = getfenv
19
local tonumber = tonumber
20
local type = type
21
+local error = error
22
23
24
local _M = { version = base.version }
lib/resty/core/base.lua
@@ -52,6 +52,7 @@ end
52
local clear_tab
53
ok, clear_tab = pcall(require, "table.clear")
54
if not ok then
55
+ local pairs = pairs
56
clear_tab = function (tab)
57
for k, _ in pairs(tab) do
58
tab[k] = nil
lib/resty/core/phase.lua
@@ -5,6 +5,7 @@ local C = ffi.C
5
local FFI_ERROR = base.FFI_ERROR
6
local error = error
7
local tostring = tostring
8
+local getfenv = getfenv
9
10
11
ffi.cdef[[
0 commit comments