浏览代码

fixed grammar.

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) ->