Fix for complex numbers

This commit is contained in:
Justin Ethier 2018-07-17 15:34:31 -04:00
parent 67c50608f0
commit 972e11b04f

2
gc.c
View file

@ -581,7 +581,7 @@ gc_heap *gc_sweep_fixed_size(gc_heap * h, int heap_type, gc_thread_data *thd)
fprintf(stderr, "sweep: invalid object at %p", p);
exit(1);
}
if (type_of(p) > 20) {
if (type_of(p) > 21) {
fprintf(stderr, "sweep: invalid object tag %d at %p", type_of(p), p);
exit(1);
}