mirror of
https://github.com/vlang/v.git
synced 2025-09-09 07:15:50 -04:00
checker: fix an inappropriate variable name (#19148)
This commit is contained in:
parent
815439a381
commit
06e2bc5df2
@ -499,8 +499,8 @@ fn (mut c Checker) call_expr(mut node ast.CallExpr) ast.Type {
|
||||
}
|
||||
}
|
||||
// If the left expr has an or_block, it needs to be checked for legal or_block statement.
|
||||
return_type := c.expr(mut node.left)
|
||||
c.check_expr_opt_call(node.left, return_type)
|
||||
left_type := c.expr(mut node.left)
|
||||
c.check_expr_opt_call(node.left, left_type)
|
||||
// TODO merge logic from method_call and fn_call
|
||||
// First check everything that applies to both fns and methods
|
||||
old_inside_fn_arg := c.inside_fn_arg
|
||||
|
Loading…
x
Reference in New Issue
Block a user