mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-25 13:18:14 +00:00
Fix type info not being generated for types only used in []typeid literals
This commit is contained in:
@@ -12463,6 +12463,7 @@ gb_internal void check_multi_expr_with_type_hint(CheckerContext *c, Operand *o,
|
||||
break;
|
||||
case Addressing_Type:
|
||||
if (type_hint != nullptr && is_type_typeid(type_hint)) {
|
||||
add_type_info_type(c, o->type);
|
||||
break;
|
||||
}
|
||||
error_operand_not_expression(o);
|
||||
|
||||
Reference in New Issue
Block a user