From 5cf918143c7c5857142ac12c3587928ed74b2052 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 1 Feb 2022 11:40:05 -0700 Subject: [PATCH] Sema: remove the data field from TypeInfo.Declaration stage2 follow-up to aa326328d0b4a0d4ee8167be9b2ab25fd560b0c9 --- src/Sema.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Sema.zig b/src/Sema.zig index 17bde1f612..f01a88fc54 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -9952,14 +9952,12 @@ fn typeInfoDecls( const is_pub = if (decl.is_pub) Value.@"true" else Value.@"false"; - const fields = try decls_anon_decl.arena().create([3]Value); + const fields = try decls_anon_decl.arena().create([2]Value); fields.* = .{ //name: []const u8, name_val, //is_pub: bool, is_pub, - //data: Data, - Value.undef, // TODO }; decls_val.* = try Value.Tag.@"struct".create(decls_anon_decl.arena(), fields); }