Khang Nguyen Duy 993a83081a std.fmt: fix unecessary deref on user-defined format function
When formatting a pointer to user type, currently it needs to be
dereferenced first, then call `formatType` on the child type.

Fix the problem by checking for "format" function on not only the type
itself, but also the struct it points to. Add hasMethod to std.meta.
2024-01-23 01:03:45 -08:00
..
2024-01-04 17:41:30 +02:00
2023-12-20 13:17:15 +02:00
2024-01-20 00:21:34 +00:00
2023-09-19 09:37:31 -07:00
2023-09-19 09:37:31 -07:00
2023-07-31 03:49:21 -04:00
2024-01-03 02:52:25 -05:00