
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
..
2023-09-01 01:35:45 +00:00
2025-03-18 00:31:17 +00:00
2025-03-27 21:17:54 +00:00
2025-03-26 19:12:10 +00:00
2025-03-27 00:41:30 +00:00
2024-10-23 18:16:32 +00:00
2025-03-27 21:17:54 +00:00
2025-03-27 21:17:54 +00:00
2025-03-18 16:59:33 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2025-02-20 22:42:47 +00:00
2024-09-19 21:32:53 +00:00
2025-03-26 19:12:10 +00:00
2025-03-26 19:12:10 +00:00
2024-07-31 19:39:45 +00:00
2025-02-20 03:17:45 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2025-03-18 00:31:17 +00:00
2025-02-15 01:36:46 +00:00
2025-02-20 22:42:47 +00:00
2024-09-19 21:32:53 +00:00
2024-11-05 00:40:08 +00:00
2025-02-12 23:21:57 +00:00
2025-03-18 16:59:33 +00:00
2024-07-31 19:39:45 +00:00
2024-07-31 19:39:45 +00:00
2025-02-12 20:10:51 +00:00
2024-06-04 20:04:45 +00:00
2024-11-05 00:40:08 +00:00
2024-09-19 21:32:53 +00:00
2025-02-20 03:17:45 +00:00
2025-03-06 19:06:51 +00:00
2025-03-26 19:12:10 +00:00
2025-01-10 22:11:07 +00:00
2025-02-15 01:36:46 +00:00
2024-06-04 20:04:45 +00:00
2025-03-06 19:06:51 +00:00
2024-06-04 20:04:45 +00:00
2025-02-27 01:00:10 +00:00
2025-03-03 17:37:10 +00:00
2025-03-20 00:48:35 +00:00
2025-02-27 01:00:10 +00:00
2025-03-17 22:29:56 +00:00
2025-02-27 01:00:10 +00:00
2025-03-26 19:12:10 +00:00
2025-03-26 19:12:10 +00:00
2025-03-26 19:12:10 +00:00
2024-08-22 22:32:19 +00:00
2025-02-25 02:07:10 +00:00
2024-09-13 10:03:21 +00:00
2024-01-29 16:15:35 +00:00
2025-03-17 22:29:56 +00:00
2023-11-10 10:43:25 +00:00
2025-03-26 19:25:03 +00:00
2025-03-26 19:12:10 +00:00
2025-02-27 02:13:17 +00:00
2025-01-22 23:15:00 +00:00
2025-03-18 00:44:18 +00:00
2025-03-20 00:48:35 +00:00
2025-03-17 22:29:56 +00:00