Преглед изворни кода

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

Dan Korostelev пре 9 година
родитељ
комит
5c1f07d11e
1 измењених фајлова са 0 додато и 6 уклоњено
  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) ->