Nicolas Cannasse 18 лет назад
Родитель
Сommit
b12580c446
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      typer.ml

+ 1 - 0
typer.ml

@@ -733,6 +733,7 @@ let load_type_opt ?(param=false) ctx p t =
 		if not param || not ctx.flash9 then
 			t
 		else match follow t with
+		| TFun _
 		| TInst ({ cl_path = [],"Int" },_)
 		| TInst ({ cl_path = [],"Float" },_)
 		| TEnum ({ e_path = [],"Bool" },_) ->