Browse Source

Remove cyclic import hack for `package runtime`

gingerBill 1 year ago
parent
commit
3c24584290
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/checker.cpp

+ 4 - 4
src/checker.cpp

@@ -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) {