Skip to content
Browse files
Initialize String before Exception; fix #3672
The old order generated some strings with their class set to NULL.
  • Loading branch information
matz committed May 30, 2017
1 parent 650cfb9 commit 4b15d5d1e373542dcf6fdac89aa5e5e2cfd61c4c
Showing 1 changed file with 2 additions and 2 deletions.
@@ -13,9 +13,9 @@ void mrb_init_kernel(mrb_state*);
void mrb_init_comparable(mrb_state*);
void mrb_init_enumerable(mrb_state*);
void mrb_init_symbol(mrb_state*);
void mrb_init_string(mrb_state*);
void mrb_init_exception(mrb_state*);
void mrb_init_proc(mrb_state*);
void mrb_init_string(mrb_state*);
void mrb_init_array(mrb_state*);
void mrb_init_hash(mrb_state*);
void mrb_init_numeric(mrb_state*);
@@ -38,9 +38,9 @@ mrb_init_core(mrb_state *mrb)
mrb_init_enumerable(mrb); DONE;

mrb_init_symbol(mrb); DONE;
mrb_init_string(mrb); DONE;
mrb_init_exception(mrb); DONE;
mrb_init_proc(mrb); DONE;
mrb_init_string(mrb); DONE;
mrb_init_array(mrb); DONE;
mrb_init_hash(mrb); DONE;
mrb_init_numeric(mrb); DONE;

0 comments on commit 4b15d5d

Please sign in to comment.