Dan Korostelev 4 năm trước cách đây
mục cha
commit
f9ade4367a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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
 			| _ ->