Simon Krajewski 12 years ago
parent
commit
f56896e776
1 changed files with 1 additions and 1 deletions
  1. 1 1
      typeload.ml

+ 1 - 1
typeload.ml

@@ -846,7 +846,7 @@ let rec type_type_params ctx path get_params p tp =
 		n, t
 	| _ ->
 		let r = exc_protect ctx (fun r ->
-			r := (fun _ -> error "Recursive constraint parameter is now allowed" p);
+			r := (fun _ -> error "Recursive constraint parameter is not allowed" p);
 			let ctx = { ctx with type_params = ctx.type_params @ get_params() } in
 			let constr = List.map (load_complex_type ctx p) tp.tp_constraints in
 			List.iter (fun t -> ignore(follow t)) constr; (* force other constraints evaluation to check recursion *)