Update subtype based Type_Info

This commit is contained in:
gingerBill
2025-06-10 09:58:16 +01:00
parent 3b9ce3f142
commit 4a044a0fce
5 changed files with 16 additions and 32 deletions

View File

@@ -123,7 +123,7 @@ assign_int :: proc(val: any, i: $T) -> bool {
}
t := runtime.type_info_base(ti)
#partial switch info in t.variant {
case runtime.Type_Info_Integer:
case ^runtime.Type_Info_Integer:
switch info.endianness {
case .Platform: return false
case .Little: return ODIN_ENDIAN != .Little