mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 08:54:47 +01:00
Make namespace formatting more consistent with other declaration block instructions. (#3732)
List names vertically rather than horizontally.
This commit is contained in:
+5
-3
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user