Browse Source

add missing follow, meh

Dan Korostelev 11 years ago
parent
commit
55ecd235b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      typer.ml

+ 1 - 1
typer.ml

@@ -2140,7 +2140,7 @@ let rec type_binop ctx op e1 e2 is_assign_op with_type p =
 		   it with the first type to preserve comparison semantics. *)
 		begin match op with
 			| (OpEq | OpNotEq) ->
-				begin match follow e1.etype,e2.etype with
+				begin match follow e1.etype,follow e2.etype with
 					| TMono _,_ | _,TMono _ ->
 						Type.unify e1.etype e2.etype
 					| _ ->