Skip to content

Commit b6e895f

Browse files
fecetnatecraddock
authored andcommitted
fix: pass missing gpa argument to addClass in define()
Fixes #197
1 parent bc83c94 commit b6e895f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/define.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub fn define(
3333
defer state.deinit(gpa);
3434

3535
inline for (to_define) |T| {
36-
_ = try addClass(&state, T);
36+
_ = try addClass(&state, gpa, T);
3737
}
3838

3939
var file = try std.fs.createFileAbsolute(absolute_output_path, .{});

0 commit comments

Comments
 (0)