aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-08-07 15:21:18 +0100
committergingerBill <bill@gingerbill.org>2023-08-07 15:21:18 +0100
commit0600054ad4e98bfab3c0ab24ec4898f7f6e846a9 (patch)
tree5a0dc471acce44179c72e02aae5a6feece49bfbf /src/entity.cpp
parentb782fca75bbd3f8bd36b076e42e85005df48f70f (diff)
Remove temporary assert
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 4fc98f277..ce27da3f2 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -347,7 +347,6 @@ gb_internal Entity *alloc_entity_using_variable(Entity *parent, Token token, Typ
entity->using_parent = parent;
entity->parent_proc_decl = parent->parent_proc_decl;
entity->using_expr = using_expr;
- GB_ASSERT(using_expr != nullptr);
entity->flags |= EntityFlag_Using;
entity->flags |= EntityFlag_Used;
entity->state = EntityState_Resolved;