Skip to content

Commit

Permalink
issue #211 The type of update index op is not known.
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyendumajumdar committed Feb 17, 2021
1 parent 170fd79 commit b0a5b01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,7 @@ void luaK_dischargevars (FuncState *fs, expdesc *e) {
op = OP_RAVI_GETTABUP_SK;
else
op = OP_GETTABUP; /* 't' is in an upvalue */
e->ravi_type = RAVI_TANY;
}
e->u.info = luaK_codeABC(fs, op, 0, e->u.ind.t, e->u.ind.idx);
e->k = VRELOCABLE;
Expand Down

0 comments on commit b0a5b01

Please sign in to comment.