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
..
2023-11-25 12:28:19 +02:00
2023-11-22 19:08:55 -07:00
2023-12-19 12:01:09 -07:00
2024-01-13 19:37:33 -07:00
2024-01-16 04:20:05 -08:00
2023-11-22 13:24:27 -05:00
2023-11-22 19:08:55 -07:00
2024-01-21 20:39:50 -07:00
2024-01-13 23:56:32 -07:00
2023-10-23 22:42:18 -04:00
2023-11-09 17:41:14 +01:00
2023-11-22 15:24:57 -07:00
2023-10-25 04:28:30 -04:00
2024-01-14 20:45:39 -05:00
2023-11-03 23:18:21 -04:00
2024-01-13 23:56:32 -07:00
2023-11-19 09:55:07 +00:00
2023-11-22 13:24:27 -05:00
2024-01-01 17:51:18 -07:00
2024-01-20 00:24:39 +00:00
2023-12-20 20:05:16 -08:00
2023-10-21 21:24:55 +00:00
2023-10-21 21:24:55 +00:00