Delay checking foreign import paths until after global scope is checked

This commit is contained in:
gingerBill
2024-05-28 00:23:23 +01:00
parent 38fffff06a
commit a1b8749e74
5 changed files with 121 additions and 86 deletions

View File

@@ -266,6 +266,7 @@ struct Entity {
Scope *scope;
} ImportName;
struct {
Ast *decl;
Slice<String> paths;
String name;
i64 priority_index;