diff options
Diffstat (limited to 'src/proc.c')
| -rw-r--r-- | src/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proc.c b/src/proc.c index 3955c0a1a..ee4a493cd 100644 --- a/src/proc.c +++ b/src/proc.c @@ -41,7 +41,7 @@ env_new(mrb_state *mrb, int nlocals) e = (struct REnv*)mrb_obj_alloc(mrb, MRB_TT_ENV, (struct RClass*)mrb->c->ci->proc->env); MRB_SET_ENV_STACK_LEN(e, nlocals); - e->mid = mrb->c->ci->mid; + e->cxt.c = mrb->c; e->cioff = mrb->c->ci - mrb->c->cibase; e->stack = mrb->c->stack; |
