Browse Source

Update src/typing/typeloadFields.ml

Co-authored-by: Aurel <[email protected]>
Dan Korostelev 4 years ago
parent
commit
3f2284a71c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/typing/typeloadFields.ml

+ 1 - 1
src/typing/typeloadFields.ml

@@ -1082,7 +1082,7 @@ let check_abstract (ctx,cctx,fctx) c cf fd t ret p =
 							);
 							);
 							a.a_is <- Some (t,cf);
 							a.a_is <- Some (t,cf);
 						| _ ->
 						| _ ->
-							error ("`is` overloads must be a function that takes a single non-optional argument and returns Bool") cf.cf_pos
+							error ("`is` overload must be a function that takes a single non-optional argument and returns Bool") cf.cf_pos
 					end
 					end
 				| (Meta.Op,[EBinop(op,_,_),_],_) :: _ ->
 				| (Meta.Op,[EBinop(op,_,_),_],_) :: _ ->
 					if fctx.is_macro then error (cf.cf_name ^ ": Macro operator functions are not supported") p;
 					if fctx.is_macro then error (cf.cf_name ^ ": Macro operator functions are not supported") p;