aboutsummaryrefslogtreecommitdiff
path: root/src/checker/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/checker/entity.cpp')
-rw-r--r--src/checker/entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/checker/entity.cpp b/src/checker/entity.cpp
index 0df216ce8..ac2c443c0 100644
--- a/src/checker/entity.cpp
+++ b/src/checker/entity.cpp
@@ -106,6 +106,7 @@ Entity *make_entity_using_variable(gbAllocator a, Entity *parent, Token token, T
Entity *entity = alloc_entity(a, Entity_Variable, parent->scope, token, type);
entity->using_parent = parent;
entity->Variable.anonymous = true;
+ entity->Variable.anonymous = true;
return entity;
}