mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Move the complete_witness_type above the !members label. (#4808)
When printing a Class, the complete_type_witness was printed last but this gave a somewhat misleading representation as it appeared to be part of the !members label. Move it above the label so that the label more clearly refers to everything below it.
This commit is contained in:
+1
-1
@@ -77,12 +77,12 @@ fn Foo(ptr: C*) {
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT: %.loc13: %C.elem = field_decl field, element0 [template]
|
||||
// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %struct_type.field [template = constants.%complete_type]
|
||||
// CHECK:STDOUT: complete_type_witness = %complete_type
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: !members:
|
||||
// CHECK:STDOUT: .Self = constants.%C
|
||||
// CHECK:STDOUT: .Member = %Member.decl
|
||||
// CHECK:STDOUT: .field = %.loc13
|
||||
// CHECK:STDOUT: complete_type_witness = %complete_type
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: fn @Member[%self.param_patt: %C]();
|
||||
|
||||
Reference in New Issue
Block a user