mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 10:22:08 +00:00
Fix missing typeid conversion case for variadic parameters
This commit is contained in:
@@ -5339,6 +5339,10 @@ CALL_ARGUMENT_CHECKER(check_call_arguments_internal) {
|
||||
if (is_type_any(elem)) {
|
||||
add_type_info_type(c, o.type);
|
||||
}
|
||||
if (o.mode == Addressing_Type && is_type_typeid(t)) {
|
||||
add_type_info_type(c, o.type);
|
||||
add_type_and_value(c->info, o.expr, Addressing_Value, t, exact_value_typeid(o.type));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user