Comparison

net/adns.lua @ 8555:4f0f5b49bb03

vairious: Add annotation when an empty environment is set [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 28 Feb 2018 20:06:26 +0100
parent 8280:9ca0e3128b62
child 9731:47121e8dc5b1
child 11266:2115496e8251
comparison
equal deleted inserted replaced
8554:12a68e0d0ecf 8555:4f0f5b49bb03
15 local setmetatable = setmetatable; 15 local setmetatable = setmetatable;
16 16
17 local function dummy_send(sock, data, i, j) return (j-i)+1; end 17 local function dummy_send(sock, data, i, j) return (j-i)+1; end
18 18
19 local _ENV = nil; 19 local _ENV = nil;
20 -- luacheck: std none
20 21
21 local async_resolver_methods = {}; 22 local async_resolver_methods = {};
22 local async_resolver_mt = { __index = async_resolver_methods }; 23 local async_resolver_mt = { __index = async_resolver_methods };
23 24
24 local query_methods = {}; 25 local query_methods = {};