mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix build failure (complete renaming in 39b6851
)
This commit is contained in:
parent
39b68518b2
commit
f16355eeba
@ -174,8 +174,8 @@ pub fn (mut c Checker) infix_expr(mut node ast.InfixExpr) ast.Type {
|
|||||||
} else {
|
} else {
|
||||||
return_type = left_type
|
return_type = left_type
|
||||||
}
|
}
|
||||||
} else if left_final.has_method(node.op.str()) {
|
} else if left_final_sym.has_method(node.op.str()) {
|
||||||
if method := left_final.find_method(node.op.str()) {
|
if method := left_final_sym.find_method(node.op.str()) {
|
||||||
return_type = method.return_type
|
return_type = method.return_type
|
||||||
} else {
|
} else {
|
||||||
return_type = left_type
|
return_type = left_type
|
||||||
@ -198,8 +198,8 @@ pub fn (mut c Checker) infix_expr(mut node ast.InfixExpr) ast.Type {
|
|||||||
} else {
|
} else {
|
||||||
return_type = right_type
|
return_type = right_type
|
||||||
}
|
}
|
||||||
} else if right_final.has_method(node.op.str()) {
|
} else if right_final_sym.has_method(node.op.str()) {
|
||||||
if method := right_final.find_method(node.op.str()) {
|
if method := right_final_sym.find_method(node.op.str()) {
|
||||||
return_type = method.return_type
|
return_type = method.return_type
|
||||||
} else {
|
} else {
|
||||||
return_type = right_type
|
return_type = right_type
|
||||||
|
Loading…
Reference in New Issue
Block a user