Commits

Anonymous committed b4dafd1

prepared a test for classes

Comments (0)

Files changed (3)

ocamlspot/Changes

 
 Features:
 - Spot file version number is introduced
-- New browsables: data type names to their type defs
+- New browsables:
+    - Data type names to their type defs
+    - Module names to their defs (preliminary support)
 
 beta2p1
 -------

ocamlspot/tests/Makefile

 # Requires unix!
 COMPFLAGS= $(INCLUDES_DEP) -I $(OTHERS)/unix
 
-all: test.cmo test1.cmo test2.cmo test3.cmo dir1/test4.cmo test5.cmo dir2/test6.cmo test7.cmo test8.cmo test9.cmo test10.cmo test11.cmo test12.cmo test13.cmo
+all: test.cmo test1.cmo test2.cmo test3.cmo dir1/test4.cmo test5.cmo dir2/test6.cmo test7.cmo test8.cmo test9.cmo test10.cmo test11.cmo test12.cmo test13.cmo test14.cmo
 
 test2.cmo: test.cmo
 	$(OCAMLC) -pack -o $@ $<

ocamlspot/tests/test13.ml

 
 let _ = (1 : int)
 
+type 'a tt = Null | Cons of 'a * 'a tt
+
+type 'a uu = Foo of 'a vv
+and 'a vv = Bar of 'a uu