From 50820e54d065bffbb504e6b20b6c27802e102c25 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 3 May 2017 10:40:03 +1000 Subject: src/lapi.js: Fix typo in aux_upvalue --- src/lapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lapi.js b/src/lapi.js index 6b853ae..a336220 100644 --- a/src/lapi.js +++ b/src/lapi.js @@ -486,7 +486,7 @@ const lua_newuserdata = function(L, size) { const aux_upvalue = function(L, fi, n) { switch(fi.ttype()) { - case CT.LUAT_TCCL: { /* C closure */ + case CT.LUA_TCCL: { /* C closure */ let f = fi.value; if (!(1 <= n && n <= f.nupvalues)) return null; return { -- cgit v1.2.3-70-g09d2