5 ms·
Andrew actually agrees with the general sentiment. And this will be made into a compile error. What's happening is that compiler knows the two errors come from
by gwenzek 1y ago
Andrew actually agrees with the general sentiment.
And this will be made into a compile error.
What's happening is that compiler knows the two errors come from disjoint error set, but it promotes them both to anyerror
Details at https://github.com/ziglang/zig/issues/25046 https://github.com/ziglang/zig/issues/25046