Function deinit [src]

Prototype

pub fn deinit(self: *Status, gpa: Allocator) void

Parameters

self: *Statusgpa: Allocator

Source

pub fn deinit(self: *Status, gpa: Allocator) void { if (self.ast) |*ast| ast.deinit(gpa); if (self.zoir) |*zoir| zoir.deinit(gpa); if (self.type_check) |tc| tc.deinit(gpa); self.* = undefined; }