aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-05-28 00:23:23 +0100
committergingerBill <bill@gingerbill.org>2024-05-28 00:23:23 +0100
commita1b8749e74639875467cba56b0ab02c342870338 (patch)
tree88b6378cd863f72a9f52e3ec0d8b3c0cdff27a82 /src/entity.cpp
parent38fffff06a76004a02bedc34172aa5107784c03f (diff)
Delay checking foreign import paths until after global scope is checked
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 8a7417006..1461b96d7 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -266,6 +266,7 @@ struct Entity {
Scope *scope;
} ImportName;
struct {
+ Ast *decl;
Slice<String> paths;
String name;
i64 priority_index;