| ... | @@ -9952,14 +9952,12 @@ fn typeInfoDecls( | ... | @@ -9952,14 +9952,12 @@ fn typeInfoDecls( |
| 9952 | | 9952 | |
| 9953 | const is_pub = if (decl.is_pub) Value.@"true" else Value.@"false"; | 9953 | const is_pub = if (decl.is_pub) Value.@"true" else Value.@"false"; |
| 9954 | | 9954 | |
| 9955 | const fields = try decls_anon_decl.arena().create([3]Value); | 9955 | const fields = try decls_anon_decl.arena().create([2]Value); |
| 9956 | fields.* = .{ | 9956 | fields.* = .{ |
| 9957 | //name: []const u8, | 9957 | //name: []const u8, |
| 9958 | name_val, | 9958 | name_val, |
| 9959 | //is_pub: bool, | 9959 | //is_pub: bool, |
| 9960 | is_pub, | 9960 | is_pub, |
| 9961 | //data: Data, | | |
| 9962 | Value.undef, // TODO | | |
| 9963 | }; | 9961 | }; |
| 9964 | decls_val.* = try Value.Tag.@"struct".create(decls_anon_decl.arena(), fields); | 9962 | decls_val.* = try Value.Tag.@"struct".create(decls_anon_decl.arena(), fields); |
| 9965 | } | 9963 | } |