Commits

camlspotter committed d71d2ae

bugfix

Comments (0)

Files changed (2)

pa/pa_ovisitor.ml

         (make_class_eq ~virt params <:ident<$lid:name$>> the_clexpr
          :: List.map (fun n ->
            make_class_eq ~virt params <:ident<$lid:n$>>
-           <:class_expr< $lid:name$ >>) names
+             (CeCon (_loc, ViNil, <:ident<$lid:name$>>, tyCom_of_list params))) names
         )
 
 module Visitor = struct

pa/test/test_fold.ml

 with ofold
 
 class o' = object (self:'self)
-  inherit [int] ofold
+  inherit [int] ofold_ts
   method int st n = st + n
   method list = fun fa -> List.fold_left (fun st x -> fa st x) 
   method unit (st : int) () = st