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:
Richard Smith authored and GitHub committed 2025-04-22 18:52:21 +00:00
1 parent f5b5731c76
commit ca8df34d0d
355 files changed
+1489 -1490

No files matched your search

@@ -61,5 +61,5 @@ fn F(n: i32, n: i32);
// CHECK:STDOUT: }
// CHECK:STDOUT: }
// CHECK:STDOUT:
// CHECK:STDOUT: fn @F(%n.param_patt.loc18_7: %i32, %n.param_patt.loc18_15: %i32);
// CHECK:STDOUT: fn @F(%n.param.loc18_7: %i32, %n.param.loc18_15: %i32);
// CHECK:STDOUT: