Explorar o código

[gencommon] remove unused does_unify function (there's `unifies`)

Dan Korostelev %!s(int64=9) %!d(string=hai) anos
pai
achega
5c1f07d11e
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      src/generators/gencommon.ml

+ 0 - 6
src/generators/gencommon.ml

@@ -5845,12 +5845,6 @@ struct
 			in
 			loop sup
 
-	let does_unify a b =
-		try
-			unify a b;
-			true
-		with | Unify_error _ -> false
-
 	(* this is a workaround for issue #1743, as FInstance() is returning the incorrect classfield *)
 	let rec clean_t t = match follow t with
 		| TAbstract(a,tl) when not (Meta.has Meta.CoreType a.a_meta) ->