mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Remove cyclic import hack for package runtime
This commit is contained in:
+4
-4
@@ -4579,10 +4579,10 @@ gb_internal Array<ImportPathItem> find_import_path(Checker *c, AstPackage *start
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pkg->kind == Package_Runtime) {
|
// if (pkg->kind == Package_Runtime) {
|
||||||
// NOTE(bill): Allow cyclic imports within the runtime package for the time being
|
// // NOTE(bill): Allow cyclic imports within the runtime package for the time being
|
||||||
continue;
|
// continue;
|
||||||
}
|
// }
|
||||||
|
|
||||||
ImportPathItem item = {pkg, decl};
|
ImportPathItem item = {pkg, decl};
|
||||||
if (pkg == end) {
|
if (pkg == end) {
|
||||||
|
|||||||
Reference in New Issue
Block a user