Remove cyclic import hack for package runtime

This commit is contained in:
gingerBill
2024-01-28 23:12:48 +00:00
parent 535b8a9483
commit 3c24584290

View File

@@ -4579,10 +4579,10 @@ gb_internal Array<ImportPathItem> find_import_path(Checker *c, AstPackage *start
continue;
}
if (pkg->kind == Package_Runtime) {
// NOTE(bill): Allow cyclic imports within the runtime package for the time being
continue;
}
// if (pkg->kind == Package_Runtime) {
// // NOTE(bill): Allow cyclic imports within the runtime package for the time being
// continue;
// }
ImportPathItem item = {pkg, decl};
if (pkg == end) {