aboutsummaryrefslogtreecommitdiff
path: root/containers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'containers.lua')
-rw-r--r--containers.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/containers.lua b/containers.lua
index 9f8fa46..17d37a2 100644
--- a/containers.lua
+++ b/containers.lua
@@ -424,7 +424,9 @@ do
byte(tostring(self), start, stop)
})
end,
- [as_lua_id("with 1 ->")] = gsub,
+ [as_lua_id("with 1 ->")] = function(...)
+ return (gsub(...))
+ end,
bytes = function(self)
return List({
byte(tostring(self), 1, -1)