windows-h8r

Results 5 comments of windows-h8r

@perillo No, it was executed on Linux. Now, it works on my computer with the latest version of Zig.

@andrewrk Shouldn't `callconv` go before the `fn` keyword, like all other function modifiers? (except for `align`, for some reason) ```zig pub callconv(.C) fn foo(comptime a: u16) void ``` rather than...

On a comment on #5893, I suggested an alternative. If we add support for default parameters, and make default parameters go first, we can do something like this: ```zig const...

@zzyxyzz > What would the type of `fn square(comptime T: type = any, n: T) T {...}` be? That's a good question. I guess we could make the parameter names...

> ```zig >fn square|comptime T: type = any|(n: T) T { > return n * n; >} >//... >square|i32|(5); // explicit >square(@as(i32,5)); // inferred >``` The problem with using the...