Remove debug code

This commit is contained in:
gingerBill
2022-01-24 15:56:26 +00:00
parent dcc9e61362
commit 42ab882db4
2 changed files with 0 additions and 4 deletions

View File

@@ -3419,7 +3419,6 @@ void convert_untyped_error(CheckerContext *c, Operand *operand, Type *target_typ
if (operand->value.kind == ExactValue_String) {
String key = operand->value.value_string;
if (is_type_string(operand->type) && is_type_enum(target_type)) {
gb_printf_err("HERE!\n");
Type *et = base_type(target_type);
check_did_you_mean_type(key, et->Enum.fields, ".");
}

View File

@@ -1618,9 +1618,6 @@ void add_type_info_type_internal(CheckerContext *c, Type *t) {
// NOTE(bill): map entries grow linearly and in order
ti_index = c->info->type_info_types.count;
array_add(&c->info->type_info_types, t);
if (t->kind == Type_Named && t->Named.name == "A") {
gb_printf_err("HERE!\n");
}
}
map_set(&c->checker->info.type_info_map, t, ti_index);