Browse Source

Added back missing return statement

Jasper Yujin Geer 3 years ago
parent
commit
57dd5ec4db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/check_expr.cpp

+ 1 - 1
src/check_expr.cpp

@@ -2515,10 +2515,10 @@ void check_shift(CheckerContext *c, Operand *x, Operand *y, Ast *node, Type *typ
 					gb_string_free(x_str);
 					gb_string_free(x_str);
 					gb_string_free(to_type);
 					gb_string_free(to_type);
 					x->mode = Addressing_Invalid;
 					x->mode = Addressing_Invalid;
-					return;
 				}
 				}
 			}
 			}
 			// x->value = x_val;
 			// x->value = x_val;
+			return;
 		}
 		}
 	}
 	}