瀏覽代碼

[gencommon] remove leftover matches from times when Int64 and friends were classes

Dan Korostelev 9 年之前
父節點
當前提交
9b172c3223
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      src/generators/gencommon.ml

+ 1 - 4
src/generators/gencommon.ml

@@ -75,12 +75,9 @@ let rec like_int t =
 
 let rec like_i64 t =
 	match follow t with
-		| TInst({ cl_path = (["cs"], "Int64") },[])
 		| TAbstract({ a_path = (["cs"], "Int64") },[])
-		| TInst({ cl_path = (["cs"], "UInt64") },[])
-		| TInst({ cl_path = (["java"], "Int64") },[])
+		| TAbstract({ a_path = (["cs"], "UInt64") },[])
 		| TAbstract({ a_path = (["java"], "Int64") },[])
-		| TInst({ cl_path = (["haxe"], "Int64") },[])
 		| TAbstract({ a_path = (["haxe"], "Int64") },[]) -> true
 		| TAbstract(a, _) -> List.exists (fun t -> like_i64 t) a.a_from || List.exists (fun t -> like_i64 t) a.a_to
 		| _ -> false