summaryrefslogtreecommitdiff
path: root/sandbox/hello2.lua
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-02-11 08:53:10 +0100
committerBenoit Giannangeli <giann008@gmail.com>2017-02-11 15:23:04 +0100
commita7b98a2e62c49a6c0ced2b57ddcea9bb6bab108e (patch)
tree1420dfdb17660fd5ca243f25d279dbd308263f7e /sandbox/hello2.lua
parent219d7cf24902b53385a1b6999e8bbf2c8512cf0b (diff)
downloadfengari-a7b98a2e62c49a6c0ced2b57ddcea9bb6bab108e.tar.gz
fengari-a7b98a2e62c49a6c0ced2b57ddcea9bb6bab108e.tar.bz2
fengari-a7b98a2e62c49a6c0ced2b57ddcea9bb6bab108e.zip
Fixed bad tailcall, _ENV is a closed upvalue
Diffstat (limited to 'sandbox/hello2.lua')
-rw-r--r--sandbox/hello2.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/sandbox/hello2.lua b/sandbox/hello2.lua
deleted file mode 100644
index bcbc1e0..0000000
--- a/sandbox/hello2.lua
+++ /dev/null
@@ -1,7 +0,0 @@
-local a = 1;
-local b = 2;
-print(a, b);
-
-function c(a, b)
- return a + b
-end \ No newline at end of file