Fix TableWithRelations for TableShape with declarations.

This commit is contained in:
Madeorsk 2024-11-25 23:12:21 +01:00
parent 4782cbb37a
commit fc6cbaa2b9
Signed by: Madeorsk
GPG key ID: 677E51CA765BB79F

View file

@ -61,7 +61,7 @@ pub fn TableWithRelations(comptime TableShape: type, comptime MetadataShape: ?ty
.Struct = .{
.layout = tableType.Struct.layout,
.fields = &fields,
.decls = tableType.Struct.decls,
.decls = &[0]std.builtin.Type.Declaration{},
.is_tuple = tableType.Struct.is_tuple,
.backing_integer = tableType.Struct.backing_integer,
},