Nicolas Cannasse %!s(int64=12) %!d(string=hai) anos
pai
achega
668bc92727
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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