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 A() {
// CHECK:STDOUT:
// CHECK:STDOUT: fn @A() {
// CHECK:STDOUT: !entry:
// CHECK:STDOUT: %A.ref: <function> = name_reference "A", package.%A
// CHECK:STDOUT: %A.ref: <function> = name_reference "A", file.%A
// CHECK:STDOUT: %.loc11: ref <error> = dereference <error>
// CHECK:STDOUT: return
// CHECK:STDOUT: }