소스 검색

overloads -> overrides

Dan Korostelev 6 년 전
부모
커밋
93b7c76f07
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/typing/typeloadCheck.ml

+ 1 - 1
src/typing/typeloadCheck.ml

@@ -167,7 +167,7 @@ let check_overriding ctx c f =
 				add_class_field_flag f2 CfOverridden;
 			with
 				Unify_error l ->
-					display_error ctx ("Field " ^ i ^ " overloads parent class with different or incomplete type") p;
+					display_error ctx ("Field " ^ i ^ " overrides parent class with different or incomplete type") p;
 					display_error ctx ("Base field is defined here") f2.cf_pos;
 					display_error ctx (error_msg (Unify l)) p;
 		with