Make namespace formatting more consistent with other declaration block instructions. (#3732)

List names vertically rather than horizontally.
This commit is contained in:
Richard Smith
2024-02-28 22:20:37 +00:00
committed by GitHub
parent 5f4e6c768a
commit 5543602a50
379 changed files with 2051 additions and 622 deletions
+5 -3
View File
@@ -21,7 +21,9 @@ impl i32 as Simple {
// CHECK:STDOUT: }
// CHECK:STDOUT:
// CHECK:STDOUT: file {
// CHECK:STDOUT: package: <namespace> = namespace {.Simple = %Simple.decl} [template]
// CHECK:STDOUT: package: <namespace> = namespace {
// CHECK:STDOUT: .Simple = %Simple.decl
// CHECK:STDOUT: } [template]
// CHECK:STDOUT: %Simple.decl = interface_decl @Simple {} [template = constants.%.1]
// CHECK:STDOUT: impl_decl @impl {
// CHECK:STDOUT: %Simple.ref: type = name_ref Simple, %Simple.decl [template = constants.%.1]
@@ -34,8 +36,8 @@ impl i32 as Simple {
// CHECK:STDOUT:
// CHECK:STDOUT: !members:
// CHECK:STDOUT: .F = %.loc8
// CHECK:STDOUT: witness = (%F)
// CHECK:STDOUT: }
// CHECK:STDOUT:
// CHECK:STDOUT: witness = (%F)}
// CHECK:STDOUT:
// CHECK:STDOUT: impl @impl: i32 as Simple {
// CHECK:STDOUT: %F: <function> = fn_decl @F.2 {} [template]