Skip to content

Commit 5cf9181

Browse files
committed
Sema: remove the data field from TypeInfo.Declaration
stage2 follow-up to aa32632
1 parent 217025e commit 5cf9181

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Sema.zig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9952,14 +9952,12 @@ fn typeInfoDecls(
99529952

99539953
const is_pub = if (decl.is_pub) Value.@"true" else Value.@"false";
99549954

9955-
const fields = try decls_anon_decl.arena().create([3]Value);
9955+
const fields = try decls_anon_decl.arena().create([2]Value);
99569956
fields.* = .{
99579957
//name: []const u8,
99589958
name_val,
99599959
//is_pub: bool,
99609960
is_pub,
9961-
//data: Data,
9962-
Value.undef, // TODO
99639961
};
99649962
decls_val.* = try Value.Tag.@"struct".create(decls_anon_decl.arena(), fields);
99659963
}

0 commit comments

Comments
 (0)