Implement basic runtime type information

This allows for `runtime.println_any` to work!
This commit is contained in:
gingerBill
2023-07-25 00:33:43 +01:00
parent 28c97a9467
commit b934e4b564
8 changed files with 459 additions and 71 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ gb_internal isize cg_type_info_index(CheckerInfo *info, Type *type, bool err_on_
}
}
if (err_on_not_found) {
GB_PANIC("NOT FOUND lb_type_info_index %s @ index %td", type_to_string(type), index);
GB_PANIC("NOT FOUND lb_type_info_index '%s' @ index %td", type_to_string(type), index);
}
return -1;
}