Alexei Samokvalov

Results 37 comments of Alexei Samokvalov

@mitchelldw01 Thanks for reporting. I can reproduce this issue. It happens when you call with `zig build run -- ...`. It's working when you call `./zig-out/bin/dev --help`. I will look...

The error does not happen if there is no `zig-cache` and `zig-out` directories. The error happens only on the second run when the folders already present. Here is the error...

@mitchelldw01 I cannot reproduce this error any more with `zig-master`. I'm going to close this issue. But I can reopen if it's not the case for you.

Unfortunately, I do not have any windows system I can test on. I cannot reproduce this behaviour on macos or linux. We need to wait for someone who could look...

@Dinastyh thanks! It's a very important fix. I'm wondering that nobody encountered this bug earlier.

Great call out. Sure, I'll look into it.

It's not just a single way how to represent tagged unions. Here is how Rust handles that: https://serde.rs/enum-representations.html

I’m short on time now, but I’ll try to look into this week.

@Daru-san thanks a bunch for your patch!! I slightly adjusted the test and fixed the union serialization. I've pushed the changes to the `main` branch that tracks `zig-master`.

Could you share your config?