summaryrefslogtreecommitdiff
path: root/src/lapi.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lapi.js')
-rw-r--r--src/lapi.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lapi.js b/src/lapi.js
index 78ae004..2c03c39 100644
--- a/src/lapi.js
+++ b/src/lapi.js
@@ -541,7 +541,6 @@ const lua_setupvalue = function(L, funcindex, n) {
let val = aux.val;
L.top--;
- // TODO: what if it's not a pure TValue (closure, table)
val.type = L.stack[L.top].type;
val.value = L.stack[L.top].value;