Commits

camlspotter  committed 4f0622d

update the test

  • Participants
  • Parent commits f4aeda4

Comments (0)

Files changed (4)

File boot/ocamlc

Binary file modified.

File boot/ocamldep

Binary file modified.

File boot/ocamllex

Binary file modified.

File ocamlspot/othertests/overload.ml

 module M = struct
   module N = struct
+    let print = print_int
     let (+) = (+)
     let one = 1
   end
   module O = struct
+    let print = print_float
     let (+) = (+.)
     let one = 1.0
   end
   assert (1 + 2 = 3);
   assert (1.2 + 3.4 = 4.6);
   assert ((fun x -> x 1.2 3.4) (+) = 4.6);
+  print 1;
+  print 1.2;
 ;;
-