const Note = struct
token: Ast.TokenIndex
offset: u32
msg: []const u8
owned: bool
fn deinit(self: @This(), gpa: Allocator) void
113 114 115 116 117 118 119 120 121 122
const Note = struct { token: Ast.TokenIndex, offset: u32, msg: []const u8, owned: bool, fn deinit(self: @This(), gpa: Allocator) void { if (self.owned) gpa.free(self.msg); } }