diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-08-28 17:56:53 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-08-29 20:39:11 +0100 |
| commit | 4330c405963ad7db2bfdb639c556e04793d386a1 (patch) | |
| tree | c29d9a3e800815062540ab6f3ab3768200bf8646 /lib/std/meta.zig | |
| parent | 401910a2ca8e4b9689180c63d0b8e190adcf7cfa (diff) | |
| download | zig-4330c405963ad7db2bfdb639c556e04793d386a1.tar.gz zig-4330c405963ad7db2bfdb639c556e04793d386a1.zip | |
std: avoid field/decl name conflicts
Most of these changes seem like improvements. The PDB thing had a TODO
saying it used to crash; I anticipate it works now, we'll see what CI
does.
The `std.os.uefi` field renames are a notable breaking change.
Diffstat (limited to 'lib/std/meta.zig')
| -rw-r--r-- | lib/std/meta.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/meta.zig b/lib/std/meta.zig index 3d3bfca1f9..e7ea5b5f0e 100644 --- a/lib/std/meta.zig +++ b/lib/std/meta.zig @@ -294,7 +294,7 @@ test declarations { pub fn a() void {} }; const U1 = union { - a: u8, + b: u8, pub fn a() void {} }; @@ -334,7 +334,7 @@ test declarationInfo { pub fn a() void {} }; const U1 = union { - a: u8, + b: u8, pub fn a() void {} }; |
