aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index 04efba512..0e073f7fb 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -445,7 +445,6 @@ void check_struct_type(CheckerContext *ctx, Type *struct_type, Ast *node, Array<
e = alloc_entity_type_name(scope, token, operand.type);
e->TypeName.is_type_alias = true;
} else {
- GB_ASSERT(operand.mode == Addressing_Constant);
e = alloc_entity_constant(scope, token, operand.type, operand.value);
}
} else {