mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 11:40:27 +00: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 parent
f5b5731c76
commit
ca8df34d0d
355 files changed
+1489
-1490
No files matched your search
@@ -62,7 +62,7 @@ fn G(a: i32);
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: fn @F(%a.param_patt: %i32);
|
||||
// CHECK:STDOUT: fn @F(%a.param: %i32);
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: fn @G(%a.param_patt: %i32);
|
||||
// CHECK:STDOUT: fn @G(%a.param: %i32);
|
||||
// CHECK:STDOUT:
|
||||
Reference in new issue
Block a user