| ... | @@ -592,7 +592,8 @@ pub const DeclGen = struct { | ... | @@ -592,7 +592,8 @@ pub const DeclGen = struct { |
| 592 | | 592 | |
| 593 | // Indicate that the anon decl should be rendered to the output so that | 593 | // Indicate that the anon decl should be rendered to the output so that |
| 594 | // our reference above is not undefined. | 594 | // our reference above is not undefined. |
| 595 | _ = try dg.anon_decl_deps.getOrPut(dg.gpa, decl_val); | 595 | const gop = try dg.anon_decl_deps.getOrPut(dg.gpa, decl_val); |
| | 596 | if (!gop.found_existing) gop.value_ptr.* = .{}; |
| 596 | } | 597 | } |
| 597 | | 598 | |
| 598 | fn renderDeclValue( | 599 | fn renderDeclValue( |