瀏覽代碼

[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) ->