xdBronch

Results 84 comments of xdBronch

looks like theres already a pr for this https://github.com/ziglang/zig/pull/19503

for context i believe people trying to emit docs from a test (step) comes from zig only libraries which only expose a module and no type of `Step.Compile`. since standalone...

functions with parameters on multiple lines are rendered weirdly ![image](https://github.com/ziglang/zig/assets/51252236/6cd64a87-0d7b-46c9-b2a2-a7865f45098f) should either trim the whitespace or render on multiple lines here as well

> Parameter-specific documentation is disallowed by zig fmt'd code im not sure what you mean? doc comments on parameters is certainly allowed. see this code for example ![image](https://github.com/ziglang/zig/assets/51252236/4442d8f4-6302-4530-9fcc-67d661568536) did you...

i dont think many of these simplifications would be possible since they may rely on type information that `zig fmt` doesnt have access to

thanks, yeah i saw that file earlier. its the only std test case in there which is a little weird imo but i guess fmt has lots of `@compileError`s. im...

i realized that there really wasnt much point not testing this so i adjusted a test to account for this change and added a similar change + test for the...

im disappointed but i understand, the fix/improvement being in the compiler itself will be much better

> Why wouldn't the function name and file be reused? because it wont always be called from the same function and file

i believe this is planned in some form not just for splat but the other builtins as well, e.g. `@intFromFloat`, `@intCast`, etc. but it needs to be worked out how...