Browse Source

fixed grammar.

Nicolas Cannasse 19 years ago
parent
commit
6a28cfcff3
1 changed files with 1 additions and 1 deletions
  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) ->