chore: bump zig version to 0.16.0
This commit is contained in:
parent
96866ba9ae
commit
e004d00990
13 changed files with 171 additions and 113 deletions
|
|
@ -748,7 +748,7 @@ fn stringExpr(gi: *GenIr, scope: *Scope, node: *const Ast.Node) InnerError!Ir.In
|
|||
const result = switch (sub_node.tag) {
|
||||
.inline_logic_expr => try inlineLogicExpr(gi, scope, sub_node),
|
||||
.string_literal => try stringLiteral(gi, sub_node),
|
||||
inline else => |_| unreachable,
|
||||
inline else => unreachable,
|
||||
};
|
||||
try gi.astgen.scratch.append(gpa, @intFromEnum(result));
|
||||
}
|
||||
|
|
@ -803,7 +803,7 @@ fn expr(gi: *GenIr, scope: *Scope, optional_node: ?*const Ast.Node) InnerError!I
|
|||
.logical_lesser_or_equal_expr => return binaryOp(gi, scope, node, .cmp_lte),
|
||||
.call_expr => return callExpr(gi, scope, node, .call),
|
||||
.selector_expr => return fieldAccess(gi, scope, node),
|
||||
inline else => |_| unreachable,
|
||||
inline else => unreachable,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue