Documentation incorrectly says that optional pointers are guaranteed to be the same size as pointers
Maybe we can reword the documentation with:
Documentation incorrectly says that optional pointers are guaranteed to be the same size as pointers
Maybe it's misleading but the documentation state for allowzero pointers:
Random.array: use sliceAsBytes
Just noticed that you did include test, you should add type that evaluate std.meta.hasUniqueRepresentation(E) to false.
Random.array: use sliceAsBytes
I did a basic test here: 8a928aa914
std: fix std.Random.array (#35683)
std: fix std.Random.array (#35683)
I close it to avoid fragmentation, see #35687
@FieldType Semantics
Hello,
Sema: make switch prong item duplicate validation go faster
Hello, I get similar results in my quick compile time trial with the patch.
std: fix std.Random.array (#35683)
8a928aa914
std: fix std.Random.array (#35683)
04340b24e8
std: fix std.Random.array (#35683)
8c303242f5
std: fix std.Random.array (#35683)
I can make Decls for a comptime created type but cannot make values for them
I do not understand your issue properly.
Integer switch validation scans previous ranges quadratically
I think I did tried and reproduced with zig 0.16.0. But for me it's a compile time issue.
rename
@field to @member for clarity
@npc1054657282 ok look good