Commits

Anonymous committed fa8fcaa

fixed test + log

Comments (0)

Files changed (4)

     utils/misc.cmx typing/ident.cmx typing/btype.cmx typing/subst.cmi 
 typing/typeclass.cmo: utils/warnings.cmi typing/typetexp.cmi typing/types.cmi \
     typing/typedtree.cmi typing/typedecl.cmi typing/typecore.cmi \
-    typing/subst.cmi typing/stypes.cmi typing/printtyp.cmi typing/predef.cmi \
-    typing/path.cmi parsing/parsetree.cmi typing/parmatch.cmi utils/misc.cmi \
-    parsing/longident.cmi parsing/location.cmi typing/includeclass.cmi \
-    typing/ident.cmi typing/env.cmi typing/ctype.cmi utils/clflags.cmi \
-    typing/btype.cmi parsing/asttypes.cmi typing/typeclass.cmi 
+    typing/subst.cmi typing/stypes.cmi typing/spot.cmi typing/printtyp.cmi \
+    typing/predef.cmi typing/path.cmi parsing/parsetree.cmi \
+    typing/parmatch.cmi utils/misc.cmi parsing/longident.cmi \
+    parsing/location.cmi typing/includeclass.cmi typing/ident.cmi \
+    typing/env.cmi typing/ctype.cmi utils/clflags.cmi typing/btype.cmi \
+    parsing/asttypes.cmi typing/typeclass.cmi 
 typing/typeclass.cmx: utils/warnings.cmx typing/typetexp.cmx typing/types.cmx \
     typing/typedtree.cmx typing/typedecl.cmx typing/typecore.cmx \
-    typing/subst.cmx typing/stypes.cmx typing/printtyp.cmx typing/predef.cmx \
-    typing/path.cmx parsing/parsetree.cmi typing/parmatch.cmx utils/misc.cmx \
-    parsing/longident.cmx parsing/location.cmx typing/includeclass.cmx \
-    typing/ident.cmx typing/env.cmx typing/ctype.cmx utils/clflags.cmx \
-    typing/btype.cmx parsing/asttypes.cmi typing/typeclass.cmi 
+    typing/subst.cmx typing/stypes.cmx typing/spot.cmx typing/printtyp.cmx \
+    typing/predef.cmx typing/path.cmx parsing/parsetree.cmi \
+    typing/parmatch.cmx utils/misc.cmx parsing/longident.cmx \
+    parsing/location.cmx typing/includeclass.cmx typing/ident.cmx \
+    typing/env.cmx typing/ctype.cmx utils/clflags.cmx typing/btype.cmx \
+    parsing/asttypes.cmi typing/typeclass.cmi 
 typing/typecore.cmo: utils/warnings.cmi typing/typetexp.cmi typing/types.cmi \
     typing/typedtree.cmi typing/stypes.cmi typing/spot.cmi \
     typing/printtyp.cmi typing/primitive.cmi typing/predef.cmi \
Binary file modified.

ocamlspot/ocamlspot.ml

 	with
 	| Failure s ->
 	    let spitname = name ^ ".spit" in
-            Format.eprintf "%s load failed. Try to load %s@."
+            Format.printf "%s load failed. Try to load %s@."
               spotname spitname;
             try
 	      load ~load_paths spitname

ocamlspot/tests/inherit.ml

 class nc = object
   inherit let _x = 1 in c (* ? c *)
   val y = 1
-  method m = x (* ? x *) (* bug or limitation?: 12/21 *)
+  method m = x
 end
+
+class nnc = object
+  inherit (* nc => *) let _y = 1 in nc (* <= nc *) (* limitation *)
+  method n = y (* ? nc *)
+end