diff options
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 24ad0eec1..b5e3d8c88 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1616,7 +1616,7 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) { } Operand lhs = {Addressing_Invalid}; Operand rhs = {Addressing_Invalid}; - Ast *binary_expr = alloc_ast_node(node->file, Ast_BinaryExpr); + Ast *binary_expr = alloc_ast_node(node->file(), Ast_BinaryExpr); ast_node(be, BinaryExpr, binary_expr); be->op = op; be->op.kind = cast(TokenKind)(cast(i32)be->op.kind - (Token_AddEq - Token_Add)); |