mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
all: replace all @Type usages
Co-authored-by: Matthew Lugg <mlugg@mlugg.co.uk>
This commit is contained in:
committed by
Matthew Lugg
parent
ce0df033cf
commit
dec1163fbb
@@ -2034,10 +2034,7 @@ test "matching captures causes struct equivalence" {
|
||||
fn UnsignedWrapper(comptime I: type) type {
|
||||
const bits = @typeInfo(I).int.bits;
|
||||
return struct {
|
||||
x: @Type(.{ .int = .{
|
||||
.signedness = .unsigned,
|
||||
.bits = bits,
|
||||
} }),
|
||||
x: @Int(.unsigned, bits),
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user