fn writeNewRef(ir: Ir, gpa: Allocator, decl: *const Decl, ref_map: *RefMap, ref: Ref, term: std.Io.Terminal) !void
fn writeNewRef(ir: Ir, gpa: Allocator, decl: *const Decl, ref_map: *RefMap, ref: Ref, term: std.Io.Terminal) !void { const w = term.writer; try ref_map.put(gpa, ref, {}); try w.writeAll(" "); try ir.writeRef(decl, ref_map, ref, term); try term.setColor(.reset); try w.writeAll(" = "); try term.setColor(INST); }