diff options
| author | Lewis Gaul <legaul@cisco.com> | 2021-02-28 23:46:35 +0000 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-03-15 14:55:34 +0100 |
| commit | b4db03d8bb29f0cded857300df460b4247e85670 (patch) | |
| tree | 57d801b9efa60deaa615c16a1c3a6db0604e46bd /src/Compilation.zig | |
| parent | a502c160cd51ce3de80b3be945245b7a91967a85 (diff) | |
| download | zig-b4db03d8bb29f0cded857300df460b4247e85670.tar.gz zig-b4db03d8bb29f0cded857300df460b4247e85670.zip | |
zig fmt: fix extra newline before if nested in for
Add failing testcase to reproduce issue 8088
Tidy up renderWhile(), factoring out renderWhilePayload()
Ensure correct newline is used before 'then' token in while/for/if
Handle indents for 'if' inside 'for' or 'while'
Stop special-casing 'if' compared to 'for' and 'while'
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
