
Jon Ross-PerkinsandDana Jansens
3ae62f8130
Rewrite Dump calls to use std::string returns (#5195)
Thought this might be interesting for you to allow more continuous
stream use. Also eliminates the need for `DumpNoNewline`.
```
expr Dump(context, complete_type_id)
(std::string) $0 = "type(inst1553): <builtin i32>; {kind: IntType, arg0: signed, arg1: inst1508, type: type(TypeType)}"
complete_type_id.Dump()
(std::string) $1 = "type(inst1553)"
expr Dump(context, specific_id)
(std::string) $2 = "specific166: {generic: generic0, args: inst_block772}"
expr Dump(context, query_self_const_id)
(std::string) $3 = "concrete_constant(inst1510): {kind: ClassType, arg0: class0, arg1: specific166, type: type(TypeType)}"
expr Dump(context, MakeFacetTypeId(arg))
(std::string) $4 = "facet_type22: {impls interface: interface10}
- interface10: {name: name26, parent_scope: name_scope0} `BitAnd`
complete: complete_facet_type22
- interface10: {name: name26, parent_scope: name_scope0} `BitAnd` (to impl)"
```
---------
Co-authored-by: Dana Jansens <danakj@orodu.net>
2025-03-27 21:17:54 +00:00
..
2024-01-05 23:01:47 +00:00
2024-07-03 19:19:57 +00:00
2025-03-18 15:19:22 +00:00
2022-10-05 17:34:04 -07:00
2025-01-18 01:11:44 +00:00
2025-01-23 20:47:51 +00:00
2025-02-24 22:41:59 +00:00
2024-12-04 22:29:35 +00:00
2024-12-04 22:29:35 +00:00
2025-02-11 18:11:14 +00:00
2025-03-26 19:25:03 +00:00
2025-03-26 19:25:03 +00:00
2025-01-18 01:11:44 +00:00
2025-02-14 17:54:39 +00:00
2024-04-02 11:18:25 +00:00
2024-11-26 19:22:05 +00:00
2025-02-04 21:08:43 +00:00
2025-02-11 18:11:14 +00:00
2024-05-28 23:50:57 +00:00
2024-05-28 23:50:57 +00:00
2024-05-28 23:50:57 +00:00
2025-02-11 18:11:14 +00:00
2025-02-27 02:13:17 +00:00
2023-11-20 19:59:06 +00:00
2024-12-31 04:32:52 +00:00
2024-07-02 21:20:14 +00:00
2025-02-27 02:13:17 +00:00
2024-12-17 01:25:53 +00:00
2024-02-14 18:26:56 +00:00
2024-10-13 17:47:57 +00:00
2024-01-05 23:01:47 +00:00
2024-09-12 16:42:08 +00:00
2025-03-03 21:23:18 +00:00
2025-02-11 18:11:14 +00:00
2025-03-27 21:17:54 +00:00
2024-12-11 18:16:38 +00:00
2024-06-10 21:43:13 +00:00
2025-02-27 02:13:17 +00:00
2024-06-08 01:50:02 +00:00
2025-02-27 02:13:17 +00:00
2025-03-03 21:23:18 +00:00
2024-06-08 01:50:02 +00:00
2025-03-03 21:23:18 +00:00
2025-01-18 01:11:44 +00:00
2025-02-11 18:11:14 +00:00
2024-09-12 16:42:08 +00:00
2025-03-03 21:23:18 +00:00
2025-03-24 15:45:45 +00:00
2024-01-29 16:15:35 +00:00
2024-05-17 19:36:21 +00:00
2022-06-22 15:38:47 -07:00
2023-12-22 22:14:11 +00:00
2024-06-03 05:02:26 +00:00
2024-09-11 10:38:59 +00:00
2024-09-11 10:38:59 +00:00
2024-04-01 18:25:27 +00:00
2024-06-18 00:33:05 +00:00
2024-06-18 00:33:05 +00:00
2024-06-18 00:33:05 +00:00
2025-02-11 18:11:14 +00:00
2024-09-16 22:55:55 +00:00