Remove cyclic import hack for package runtime
This commit is contained in:
1 parent
535b8a9483
commit
3c24584290
1 file changed
+4
-4
+4
-4
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user