Skip to content

Commit

Permalink
Fix offset counting for attributes (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Sep 18, 2023
1 parent 204376e commit a3ee535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydust/src/attributes.zig
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ pub fn Attributes(comptime definition: type) type {
}
};
attrs[idx] = .{ .name = decl.name ++ "", .ctor = Closure.init };
idx += 1;
}
}
idx += 1;
}
break :blk attrs;
};
Expand Down

0 comments on commit a3ee535

Please sign in to comment.