| author | |
| committer | |
| log | 4936453d56a565c79535261bd3ee8fe35a3864fb |
| tree | 058f848d4cdc376ca728f4b35d3a3f199bef6e73 |
| parent | 4d5fb62a82065e84c6df6bb1bf911c561cdd51e0 |
| signature | Commit is signed but in an unrecognized format. |
Followup to d3d24874c91054a70c706fed47278c81c9ce890a.
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>2 files changed, 1 insertions(+), 4 deletions(-)
lib/std/builtin.zig-3| ... | ... | @@ -221,7 +221,6 @@ pub const SourceLocation = struct { |
| 221 | 221 | }; |
| 222 | 222 | |
| 223 | 223 | pub const TypeId = std.meta.Tag(Type); |
| 224 | pub const TypeInfo = @compileError("deprecated; use Type"); | |
| 225 | 224 | |
| 226 | 225 | /// This data structure is used by the Zig language code generation and |
| 227 | 226 | /// therefore must be kept in sync with the compiler implementation. |
| ... | ... | @@ -388,8 +387,6 @@ pub const Type = union(enum) { |
| 388 | 387 | decls: []const Declaration, |
| 389 | 388 | }; |
| 390 | 389 | |
| 391 | pub const FnArg = @compileError("deprecated; use Fn.Param"); | |
| 392 | ||
| 393 | 390 | /// This data structure is used by the Zig language code generation and |
| 394 | 391 | /// therefore must be kept in sync with the compiler implementation. |
| 395 | 392 | pub const Fn = struct { |
test/behavior/type_info.zig+1-1| ... | ... | @@ -257,7 +257,7 @@ fn testUnion() !void { |
| 257 | 257 | try expect(typeinfo_info.Union.tag_type.? == TypeId); |
| 258 | 258 | try expect(typeinfo_info.Union.fields.len == 24); |
| 259 | 259 | try expect(typeinfo_info.Union.fields[4].type == @TypeOf(@typeInfo(u8).Int)); |
| 260 | try expect(typeinfo_info.Union.decls.len == 22); | |
| 260 | try expect(typeinfo_info.Union.decls.len == 21); | |
| 261 | 261 | |
| 262 | 262 | const TestNoTagUnion = union { |
| 263 | 263 | Foo: void, |