From ae7fd0d27a72fa3088e84992eb5040853164dad6 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Tue, 29 Sep 2020 22:52:38 -0400 Subject: feat: Add status, better debug, and some associated refactors * [WIP]: Mon 28 Sep 2020 01:08:24 PM EDT * add much much better tracking. so much less hax * status updates, oneshot job updates, etc. * remove temp function * add status function * asdfasdfasdf --- scratch/new_index.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scratch/new_index.lua (limited to 'scratch/new_index.lua') diff --git a/scratch/new_index.lua b/scratch/new_index.lua new file mode 100644 index 0000000..3aa6a91 --- /dev/null +++ b/scratch/new_index.lua @@ -0,0 +1,9 @@ + +local t = setmetatable({}, { + __newindex = function(t, k, v) + print(t, k, v) + end +}) + +-- table.insert(t, "hello") +t[1] = "hello" -- cgit v1.2.3