Explorar o código

fixed : auto Null<Function>

Nicolas Cannasse %!s(int64=18) %!d(string=hai) anos
pai
achega
b12580c446
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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" },_) ->