aboutsummaryrefslogtreecommitdiff
path: root/src/ldebug.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldebug.js')
-rw-r--r--src/ldebug.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldebug.js b/src/ldebug.js
index 47f32f6..ee9c891 100644
--- a/src/ldebug.js
+++ b/src/ldebug.js
@@ -514,7 +514,7 @@ const isinstack = function(L, ci, o) {
** upvalues.)
*/
const getupvalname = function(L, ci, o) {
- let c = ci.func;
+ let c = ci.func.value;
for (let i = 0; i < c.nupvalues; i++) {
if (c.upvals[i].val() === o) {
return {