Fix child lookups, cache keys and loadstring

`loadstring` was removed in Lua 5.2, `load` takes a string the same way.

Warp gui child lookups are optional, so they use the same assert the
rest of the repo does.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
bbassie
2026-08-07 15:31:18 +00:00
co-authored by Claude Opus 5
parent b07052307d
commit 5aeafa0e11
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ local ExpUtil = require("modules/exp_util")
local concat = table.concat
local inspect = table.inspect
local pcall = pcall
local loadstring = loadstring --- @diagnostic disable-line
local loadstring = load
local rawset = rawset
local Public = {}