فهرست منبع

fixed Function type

Nicolas Cannasse 17 سال پیش
والد
کامیت
7c7db4d904
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      genswf9.ml

+ 2 - 1
genswf9.ml

@@ -212,7 +212,8 @@ let classify ctx t =
 		KType (type_id ctx t)
 	| TType ({ t_path = [],"UInt" },_) ->
 		KUInt
-	| TFun _
+	| TFun _ ->
+		KType (HMPath ([],"Function"))
 	| TMono _
 	| TAnon _
 	| TType _