Software /
code /
prosody
Comparison
util/serialization.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 | 6777:5de6b93d0190 |
child | 9008:ae3c52419ec1 |
comparison
equal
deleted
inserted
replaced
8554:12a68e0d0ecf | 8555:4f0f5b49bb03 |
---|---|
19 local debug_traceback = debug.traceback; | 19 local debug_traceback = debug.traceback; |
20 local log = require "util.logger".init("serialization"); | 20 local log = require "util.logger".init("serialization"); |
21 local envload = require"util.envload".envload; | 21 local envload = require"util.envload".envload; |
22 | 22 |
23 local _ENV = nil; | 23 local _ENV = nil; |
24 -- luacheck: std none | |
24 | 25 |
25 local indent = function(i) | 26 local indent = function(i) |
26 return string_rep("\t", i); | 27 return string_rep("\t", i); |
27 end | 28 end |
28 local function basicSerialize (o) | 29 local function basicSerialize (o) |