vm.c: target class may be NULL.
MODIFY
src/vm.c
src/vm.c
@@ -1749,7 +1749,7 @@ RETRY_TRY_BLOCK:
}
else if (target_class->tt == MRB_TT_MODULE) {
target_class = mrb_vm_ci_target_class(ci);
- if (target_class->tt != MRB_TT_ICLASS) {
+ if (!target_class || target_class->tt != MRB_TT_ICLASS) {
goto super_typeerror;
}
}

vm.c: target class may be NULL.