diff options
| author | Jacob G-W <jacoblevgw@gmail.com> | 2023-07-25 11:15:59 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-07-25 16:19:08 -0700 |
| commit | 3c08fe931a10618950c6af9e89226d1d9b20bbb9 (patch) | |
| tree | e745ce6e163c0af808adc8322a6c83e5ba426641 /lib/std/builtin.zig | |
| parent | 972e70b7941561b10f9b3062dcd7b7a91016c546 (diff) | |
| download | zig-3c08fe931a10618950c6af9e89226d1d9b20bbb9.tar.gz zig-3c08fe931a10618950c6af9e89226d1d9b20bbb9.zip | |
make `@typeInfo` not return private decls
fixes #10731
Thanks @nektro for previous work in #14878
This change creates a small breaking change:
It removes the `is_pub` field of a decl in `@typeInfo`
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index fd50011ab8..26fc48805a 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -437,7 +437,6 @@ pub const Type = union(enum) { /// therefore must be kept in sync with the compiler implementation. pub const Declaration = struct { name: []const u8, - is_pub: bool, }; }; |
