Remove debug code

This commit is contained in:
gingerBill
2025-02-05 10:20:18 +00:00
parent e967f4596f
commit ab469e657d
+1 -1
View File
@@ -865,7 +865,7 @@ gb_internal Entity *init_entity_foreign_library(CheckerContext *ctx, Entity *e)
error(ident, "Undeclared name: %.*s", LIT(name)); error(ident, "Undeclared name: %.*s", LIT(name));
} }
} else if (found->kind != Entity_LibraryName) { } else if (found->kind != Entity_LibraryName) {
error(ident, "'%.*s' cannot be used as a library name %d", LIT(name), found->kind); error(ident, "'%.*s' cannot be used as a library name", LIT(name));
} else { } else {
// TODO(bill): Extra stuff to do with library names? // TODO(bill): Extra stuff to do with library names?
*foreign_library = found; *foreign_library = found;