mirror of
https://github.com/ziglang/zig.git
synced 2026-11-11 23:19:30 -05:00
various fixes
* comptime expression is a block expression as it should be * fix var args when number of args passed is 0 * implement const value equality for structs * fix indent when rendering container decl AST * IR: prevent duplicate generation of code when it is partially compile-time evaluated * implement compile time struct field pointer evaluation * fix compile time evaluation of slicing
This commit is contained in:
1 parent
17cb85dfb8
commit
32d8686da8
10 files changed
+84
-42
No files matched your search
@@ -600,6 +600,7 @@ static void render_node_extra(AstRender *ar, AstNode *node, bool grouped) {
|
||||
}
|
||||
|
||||
ar->indent -= ar->indent_size;
|
||||
print_indent(ar);
|
||||
fprintf(ar->f, "}");
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user