Skip to content

Commit f5843db

Browse files
committed
fixed: removed unnecessary print statement
1 parent 11d88fc commit f5843db

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

compiler/src/astnodes.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,10 +2002,7 @@ static b32 resolve_intrinsic_interface_constraint_inner(Context *context, AstInt
20022002
if (!strcmp(interface->name, "type_is_float")) return type->kind == Type_Kind_Basic && (type->Basic.flags & Basic_Flag_Float);
20032003
if (!strcmp(interface->name, "type_is_number")) return type->kind == Type_Kind_Basic && (type->Basic.flags & Basic_Flag_Numeric);
20042004
if (!strcmp(interface->name, "type_is_simd")) return type->kind == Type_Kind_Basic && (type->Basic.flags & Basic_Flag_SIMD);
2005-
if (!strcmp(interface->name, "type_is_pointer")) {
2006-
printf("RUNNING TYPE IS POINTER ON: %s\n", type_get_name(context, type));
2007-
return type_is_pointer(type) || type_is_rawptr(type);
2008-
}
2005+
if (!strcmp(interface->name, "type_is_pointer")) return type_is_pointer(type) || type_is_rawptr(type);
20092006
if (!strcmp(interface->name, "type_is_enum")) return type->kind == Type_Kind_Enum;
20102007
if (!strcmp(interface->name, "type_is_simple")) return type->kind == Type_Kind_Basic
20112008
|| type->kind == Type_Kind_Enum

0 commit comments

Comments
 (0)