1
0
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:
Delyan Angelov 2022-07-11 20:59:37 +03:00
parent 39b68518b2
commit f16355eeba
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -174,8 +174,8 @@ pub fn (mut c Checker) infix_expr(mut node ast.InfixExpr) ast.Type {
} else {
return_type = left_type
}
} else if left_final.has_method(node.op.str()) {
if method := left_final.find_method(node.op.str()) {
} else if left_final_sym.has_method(node.op.str()) {
if method := left_final_sym.find_method(node.op.str()) {
return_type = method.return_type
} else {
return_type = left_type
@ -198,8 +198,8 @@ pub fn (mut c Checker) infix_expr(mut node ast.InfixExpr) ast.Type {
} else {
return_type = right_type
}
} else if right_final.has_method(node.op.str()) {
if method := right_final.find_method(node.op.str()) {
} else if right_final_sym.has_method(node.op.str()) {
if method := right_final_sym.find_method(node.op.str()) {
return_type = method.return_type
} else {
return_type = right_type