Skip to content

Commit

Permalink
checker: minor cleanup in expr()
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyi98 committed Jun 18, 2024
1 parent de5ad8b commit 29cb44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/checker/checker.v
Original file line number Diff line number Diff line change
Expand Up @@ -2820,7 +2820,7 @@ pub fn (mut c Checker) expr(mut node ast.Expr) ast.Type {
} else {
tsym.cname
}
c.table.dumps[int(unwrapped_expr_type.clear_flag(.result).clear_flag(.atomic_f))] = type_cname
c.table.dumps[int(unwrapped_expr_type.clear_flags(.result, .atomic_f))] = type_cname
node.cname = type_cname
return node.expr_type
}
Expand Down

0 comments on commit 29cb44d

Please sign in to comment.