diff options
| author | gingerBill <bill@gingerbill.org> | 2024-01-28 23:12:48 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-01-28 23:12:48 +0000 |
| commit | 3c245842903144ca09869288ca7d5ffa2545aede (patch) | |
| tree | 42d3faa22a0955aeec31e56691bff86649bd16e4 /src/checker.cpp | |
| parent | 535b8a94832e7f0935bd7a6ccdc6a59bf68d4d9f (diff) | |
Remove cyclic import hack for `package runtime`
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 565e948f8..03ff5aec3 100644 --- a/src/checker.cpp +++ b/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) { |