From 63c1f1e44e3d0786ca53cad1c3101b3ecf0a3b4e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 1 May 2026 14:48:59 -0400 Subject: [PATCH] Add a colon to the dump output for IdentifiedFacetType (#7150) Put a colon after `impls` to make it a bit easier to read. Before: ``` identified_facet_type50000000 - self: concrete_constant(inst50000023): {kind: ClassType, arg0: class50000004, arg1: specific, type: type(TypeType)} impls interface50000000: {name: name0, parent_scope: name_scope0, require_impls_block_id: require_block_empty} `Z` ``` After: ``` identified_facet_type50000000 - self: concrete_constant(inst50000023): {kind: ClassType, arg0: class50000004, arg1: specific, type: type(TypeType)} impls: interface50000000: {name: name0, parent_scope: name_scope0, require_impls_block_id: require_block_empty} `Z` ``` --- toolchain/sem_ir/dump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/sem_ir/dump.cpp b/toolchain/sem_ir/dump.cpp index fdf3d15c3500..ae4b08a807d6 100644 --- a/toolchain/sem_ir/dump.cpp +++ b/toolchain/sem_ir/dump.cpp @@ -309,7 +309,7 @@ LLVM_DUMP_METHOD auto Dump(const File& file, llvm::enumerate(identified_facet_type.required_impls())) { auto [self, req_interface] = req_impl; out << "\n - self: " << DumpConstantSummary(file, self); - out << "\n impls " + out << "\n impls: " << DumpInterfaceSummary(file, req_interface.interface_id); if (req_interface.specific_id.has_value()) { out << "; " << DumpSpecificSummary(file, req_interface.specific_id);