diff options
| author | blob1807 <12388588+blob1807@users.noreply.github.com> | 2025-11-28 13:02:49 +1000 |
|---|---|---|
| committer | blob1807 <12388588+blob1807@users.noreply.github.com> | 2025-11-28 13:02:49 +1000 |
| commit | 062f445ee33cbada57bc4bb823d7190808cd57dd (patch) | |
| tree | c7f062bc95b375e789ed8568b61b07d58e654340 /core/reflect | |
| parent | be38ba58b3873ee28084b2bd8fb5cb75d7eb6f59 (diff) | |
Fix `is_pointer_internally` not handling Named Types.
Diffstat (limited to 'core/reflect')
| -rw-r--r-- | core/reflect/types.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/reflect/types.odin b/core/reflect/types.odin index f71395298..11e83dfbd 100644 --- a/core/reflect/types.odin +++ b/core/reflect/types.odin @@ -328,7 +328,7 @@ is_soa_pointer :: proc(info: ^Type_Info) -> bool { @(require_results) is_pointer_internally :: proc(info: ^Type_Info) -> bool { if info == nil { return false } - #partial switch v in info.variant { + #partial switch v in type_info_base(info).variant { case Type_Info_Pointer, Type_Info_Multi_Pointer, Type_Info_Procedure: return true |