Skip to content

Commit d5145d5

Browse files
fix: pass missing gpa argument to addClass in define()
Fixes #197
1 parent 315b7f2 commit d5145d5

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)