Download:
child 23:c66dba9e0892
parent 21:27da91327bbe
22:4120e00edf14
Anton Shestakov <av6@dwimlabs.net>, Sat, 10 Sep 2016 15:14:24 +0800
hglib: more precise luacheck option for "table.unpack or unpack"

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
hglib.lua file | annotate | diff | comparison | revisions
--- a/hglib.lua Sat Sep 10 11:05:15 2016 +0800
+++ b/hglib.lua Sat Sep 10 15:14:24 2016 +0800
@@ -1,6 +1,6 @@
local lpc = require('lpc')
-local unpack = table.unpack or unpack -- luacheck: ignore undefined variable unpack
+local unpack = table.unpack or unpack -- luacheck: read globals unpack
local sizes = { i4 = 4, u4 = 4, c = 1 }