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

+ 1 - 0
src/typing/typer.ml

@@ -1230,6 +1230,7 @@ and type_local_function ctx kind f with_type p =
 		| None, WithType.WithType (texpected,_) ->
 			(match follow texpected with
 			| TAbstract ({ a_path = [],"Coroutine" }, [ft]) ->
+				(* TODO: type signature against ft *)
 				(* TODO: check original type against the coroutine ft *)
 				Some texpected
 			| _ ->