Nicolas Cannasse пре 19 година
родитељ
комит
6a28cfcff3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      typer.ml

+ 1 - 1
typer.ml

@@ -679,7 +679,7 @@ let type_field ctx e i p get =
 		if ctx.untyped then 
 			AccExpr (mk (TField (e,i)) (mk_mono()) p)
 		else
-			error (s_type (print_context()) e.etype ^ " have no field " ^ i) p
+			error (s_type (print_context()) e.etype ^ " has no field " ^ i) p
 	in
 	match follow e.etype with
 	| TInst (c,params) ->