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
+1
View File
@@ -632,6 +632,7 @@ AST_KIND(_DeclBegin, "", bool) \
AST_KIND(ForeignImportDecl, "foreign import declaration", struct { \
Token token; \
Slice<Ast *> filepaths; \
bool multiple_filepaths; \
Token library_name; \
String collection_name; \
Slice<String> fullpaths; \