6 ms·
Yes, the error is much clearer when you realize where the mistake is :) There's an interesting point here, though: while comptime lets Zig unify function calls
by danvk 2y ago
Yes, the error is much clearer when you realize where the mistake is :)
There's an interesting point here, though: while comptime lets Zig unify function calls and generic type instantiation, this also creates the possibility of confusing the two and getting confusing error messages.