Browse Source

Remove debug code

gingerBill 3 years ago
parent
commit
42ab882db4
2 changed files with 0 additions and 4 deletions
  1. 0 1
      src/check_expr.cpp
  2. 0 3
      src/checker.cpp

+ 0 - 1
src/check_expr.cpp

@@ -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, ".");
 		}

+ 0 - 3
src/checker.cpp

@@ -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);