mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-06 04:42:15 -04:00
Add missing type information for soa structs
This commit is contained in:
1 parent
0888c69b57
commit
f809788f75
4 files changed
+19
-1
No files matched your search
@@ -2088,6 +2088,8 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
|
||||
t = default_type(t);
|
||||
|
||||
add_type_info_type(c, t);
|
||||
GB_ASSERT(t_type_info_ptr != nullptr);
|
||||
add_type_info_type(c, t_type_info_ptr);
|
||||
|
||||
if (is_operand_value(o) && is_type_typeid(t)) {
|
||||
add_package_dependency(c, "runtime", "__type_info_of");
|
||||
|
||||
Reference in new issue
Block a user