浏览代码

fixed issue #1637

Nicolas Cannasse 12 年之前
父节点
当前提交
668bc92727
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      typeload.ml

+ 1 - 1
typeload.ml

@@ -400,7 +400,7 @@ and load_complex_type ctx p t =
 					c2.cl_fields <- a.a_fields;
 					TInst (c2,[])
 				| TMono _ ->
-					error "Please ensure correct initialization of cascading signatures" p
+					error "Loop found in cascading signatures definitions. Please change order/import" p
 				| TAnon a2 ->
 					PMap.iter (fun f _ ->
 						if PMap.mem f a2.a_fields then error ("Cannot redefine field " ^ f) p