Skip to content

Commit 697b099

Browse files
Print mrb_value instead of RClass*
1 parent 14bd8ce commit 697b099

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/variable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ mrb_mod_cv_get(mrb_state *mrb, struct RClass * c, mrb_sym sym)
697697
c = c->super;
698698
}
699699
mrb_name_error(mrb, sym, "uninitialized class variable %S in %S",
700-
mrb_sym2str(mrb, sym), cls);
700+
mrb_sym2str(mrb, sym), mrb_obj_value(cls));
701701
/* not reached */
702702
return mrb_nil_value();
703703
}

0 commit comments

Comments
 (0)