From 049318635ea758521ad32a4226fa0909bf78b8f5 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 14 Mar 2023 12:39:07 +1300 Subject: [PATCH 1/2] Change 'body' to 'do' in lfunction.d --- luad/lfunction.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luad/lfunction.d b/luad/lfunction.d index 4fd6e92..4dc89ef 100644 --- a/luad/lfunction.d +++ b/luad/lfunction.d @@ -86,7 +86,7 @@ struct LuaFunction */ void setEnvironment(ref LuaTable env) in { assert(this.state == env.state); } - body + do { this.push(); env.push(); From e4257883fcc8efc78c42523c13232b43fb4303d1 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 14 Mar 2023 12:42:05 +1300 Subject: [PATCH 2/2] Change 'body' to 'do' in table.d --- luad/table.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luad/table.d b/luad/table.d index dbe4802..245c99c 100644 --- a/luad/table.d +++ b/luad/table.d @@ -187,7 +187,7 @@ struct LuaTable */ void setMetaTable(ref LuaTable meta) @trusted in{ assert(this.state == meta.state); } - body + do { this.push(); meta.push();