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
+1 -1
View File
@@ -30,7 +30,7 @@ fn G() -> i32 {
// CHECK:STDOUT:
// CHECK:STDOUT: fn @G() -> i32 {
// 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: %.loc12_13: i32 = int_literal 1
// CHECK:STDOUT: %.loc12_16: i32 = int_literal 2
// CHECK:STDOUT: %.loc12_19: i32 = int_literal 3