Skip to content
Permalink
Browse files
Mark the proc object representing top-level as an internal object; #3621
  • Loading branch information
matz committed May 29, 2017
1 parent abed375 commit cbd4aae41cf13f09a75d21a77cf03d1c903b69d6
Showing 1 changed file with 1 addition and 0 deletions.
@@ -2983,6 +2983,7 @@ mrb_generate_code(mrb_state *mrb, parser_state *p)
proc = mrb_proc_new(mrb, scope->irep);
mrb_irep_decref(mrb, scope->irep);
mrb_pool_close(scope->mpool);
proc->c = NULL;
return proc;
}
MRB_CATCH(&scope->jmp) {

0 comments on commit cbd4aae

Please sign in to comment.