mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 08:44:41 +01:00
Format the call parameters of a function, not the patterns. (#5342)
This makes the parameters printed in a SemIR `fn` declaration match the arguments printed in a SemIR `call` instruction.
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ fn F(p: const (const (const i32*)*)) -> const i32 {
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: fn @F(%p.param_patt: %const.fa2) -> %const.20a {
|
||||
// CHECK:STDOUT: fn @F(%p.param: %const.fa2) -> %const.20a {
|
||||
// CHECK:STDOUT: !entry:
|
||||
// CHECK:STDOUT: %p.ref: %const.fa2 = name_ref p, %p
|
||||
// CHECK:STDOUT: %.loc13_11.1: ref %const.58f = deref %p.ref
|
||||
|
||||
Reference in New Issue
Block a user