소스 검색

Update src/typing/typeloadFields.ml

Dan Korostelev 4 년 전
부모
커밋
70420e9f99
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/typing/typeloadFields.ml

+ 1 - 1
src/typing/typeloadFields.ml

@@ -1078,7 +1078,7 @@ let check_abstract (ctx,cctx,fctx) c cf fd t ret p =
 							delay ctx PCheckConstraint (fun () ->
 							delay ctx PCheckConstraint (fun () ->
 								match follow tr with
 								match follow tr with
 								| TAbstract ({ a_path = [],"Bool" },_) -> ()
 								| TAbstract ({ a_path = [],"Bool" },_) -> ()
-								| _ -> error "`is` overloads must return Bool" cf.cf_pos
+								| _ -> error "`is` overload must return Bool" cf.cf_pos
 							);
 							);
 							a.a_is <- Some (t,cf);
 							a.a_is <- Some (t,cf);
 						| _ ->
 						| _ ->