Begin moving foreign import import paths to be evaluated in the semantic phase rather than parsing.

This commit is contained in:
gingerBill
2024-05-27 23:51:43 +01:00
parent 74ac2667e7
commit 38fffff06a
4 changed files with 69 additions and 39 deletions
+1 -1
View File
@@ -631,7 +631,7 @@ AST_KIND(_DeclBegin, "", bool) \
}) \
AST_KIND(ForeignImportDecl, "foreign import declaration", struct { \
Token token; \
Slice<Token> filepaths; \
Slice<Ast *> filepaths; \
Token library_name; \
String collection_name; \
Slice<String> fullpaths; \