| ... | ... | @@ -776,6 +776,7 @@ pub const Scope = struct { |
| 776 | 776 | pkg: *Package, |
| 777 | 777 | /// The namespace of the struct that represents this file. |
| 778 | 778 | /// Populated only when status is success. |
| 779 | /// Owned by its owner Decl Value. |
| 779 | 780 | namespace: *Namespace, |
| 780 | 781 | /// All namespaces that this file contains. This is here so that |
| 781 | 782 | /// when a file is updated, and new ZIR code is generated, the |
| ... | ... | @@ -812,7 +813,6 @@ pub const Scope = struct { |
| 812 | 813 | |
| 813 | 814 | pub fn deinit(file: *File, mod: *Module) void { |
| 814 | 815 | const gpa = mod.gpa; |
| 815 | | file.namespace.deinit(mod); |
| 816 | 816 | gpa.free(file.sub_file_path); |
| 817 | 817 | file.unload(gpa); |
| 818 | 818 | file.* = undefined; |