mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 10:20:05 +00:00
Remove assertion from constant parameter
This commit is contained in:
@@ -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 = alloc_entity_type_name(scope, token, operand.type);
|
||||||
e->TypeName.is_type_alias = true;
|
e->TypeName.is_type_alias = true;
|
||||||
} else {
|
} else {
|
||||||
GB_ASSERT(operand.mode == Addressing_Constant);
|
|
||||||
e = alloc_entity_constant(scope, token, operand.type, operand.value);
|
e = alloc_entity_constant(scope, token, operand.type, operand.value);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user