sem-ir: Write references to the file block as file. not package. (#3333)

This matches the renaming of the `package { ... }` block to `file { ...
}`.
This commit is contained in:
Richard Smith
2023-10-25 00:35:16 +00:00
committed by GitHub
parent e6634d240f
commit 35721dc3d0
49 changed files with 100 additions and 102 deletions
@@ -17,7 +17,7 @@ fn G() { F(); }
// CHECK:STDOUT:
// CHECK:STDOUT: fn @G() {
// CHECK:STDOUT: !entry:
// CHECK:STDOUT: %F.ref: <function> = name_reference "F", package.%F
// CHECK:STDOUT: %F.ref: <function> = name_reference "F", file.%F
// CHECK:STDOUT: %.loc9_11.1: type = tuple_type ()
// CHECK:STDOUT: %.loc9_11.2: init () = call %F.ref()
// CHECK:STDOUT: return