Commit Graph

491 Commits (0d5055997a84b343869bfd38ebaae9a43aa69d1d)

Author SHA1 Message Date
Luc Maranget 28985bc330 proprifier + se garantir contre les 168 variants de tk.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5142 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-25 16:37:04 +00:00
Luc Maranget 6ed39326b9 petite optimisation des or-inutiles (gros bug ?)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5139 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-23 17:19:33 +00:00
Luc Maranget 987ce83e55 retour sur les avertissements *unused pattern*
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5138 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-23 08:36:46 +00:00
Jacques Garrigue 7cc6e362ae fix bug in type copy of universal variants (PR#1382)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5127 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-11 06:09:26 +00:00
Jacques Garrigue 78987eff9f backtrack l'unification des objets (PR#1377)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-09 02:58:21 +00:00
Jacques Garrigue 0f434a2e17 corrige PR#1374: univar aliasee en variable de rangee
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-07 01:36:08 +00:00
Pierre Weis ccd4123e89 Since string_of_float is now compatible with Caml lexical conventions,
there is no need to add an extra ".0" at the end of float tokens
(string_of_float does it for you if necessary).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5121 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-06 09:44:33 +00:00
Pierre Weis 87135c8050 Using printf formats for Caml tokens.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5120 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-06 09:36:20 +00:00
Pierre Weis 0d986a420a Introducing new format %F and %B to print parsable float and bools.
(For bools format B is equivalent to format b, which can now be used
for something else: printing integers in binary format ?).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5115 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:27:34 +00:00
Pierre Weis fc297ab443 Closing open bug report #1355:
the printing of negative argument of constructors (here parens
are mandatory to get a Caml parsable output).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5114 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:24:41 +00:00
Jacques Garrigue a65612651e precedences de || et && dans unify_row_field
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5111 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-03 02:31:09 +00:00
Jacques Garrigue 14be599efd corrige PR#1360: Reither boucle
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5110 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-02 03:41:14 +00:00
Xavier Leroy 161bca8da3 Revu generation du .cmi avec ocamlc -pack: supprimer les dependances sur les modules empaquetes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5102 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-19 12:23:23 +00:00
Jacques Garrigue bae927f1f9 corrige PR#1301: bug dans unify_var
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5080 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-05 23:41:09 +00:00
Jacques Garrigue 3a2cbe9ef1 recupere les variables de type apres let module
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5072 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-05 05:58:08 +00:00
Jacques Garrigue 8cd87857b8 fix PR#1276
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5071 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-05 05:57:24 +00:00
Jacques Garrigue 8eb2a6b683 fix PR#1274
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-02 01:23:11 +00:00
Damien Doligez 37bf95c248 detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 14:12:03 +00:00
Xavier Leroy f8c356128e Bug dans le test d'unicite des labels d'un record dans le cas {a=...;X.a=...} ou a et X.a appartiennent au meme type de record
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4998 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-17 14:22:57 +00:00
Jacques Garrigue 40b7f8f848 clean-up moregeneral_row
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-08 07:19:11 +00:00
Jacques Garrigue 042d5a63ff fix Brian Smith's class constraint problem (caml-list 2002-07-07)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-08 05:59:51 +00:00
Pierre Weis a829d1d7d6 Using formats %S and %C.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4959 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 09:27:14 +00:00
Jacques Garrigue cf97530787 remove dead code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4939 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-18 23:48:44 +00:00
Xavier Leroy e308b5656f Amelioration messages d'erreur (PR#1158)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4934 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-18 13:57:09 +00:00
Jacques Garrigue a3c76a6264 improve error messages
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4929 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-18 10:47:33 +00:00
Jacques Garrigue 4a9e0cb904 remove coercion warning, add it only on error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4923 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-12 09:52:08 +00:00
Jacques Garrigue d13715755c clean-up of universal and recursive types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4912 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-10 02:39:35 +00:00
Jacques Garrigue 6b8a377e3b correctly check recursive abbreviations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-10 02:38:31 +00:00
Jacques Garrigue 8b0560488e fix PR#1191
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-09 10:26:15 +00:00
Jacques Garrigue a5fd3bb206 PR#1189: handle names in update_level
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4906 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 23:08:33 +00:00
Xavier Leroy 7c3f451166 Ajout flag dont_write_files pour ocamldoc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4897 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 08:03:46 +00:00
Xavier Leroy 363427a872 Suppression de la memoization des chemins de la forme F(M), qui est semantiquement incorrecte si F est un parametre de foncteur (PR#1180)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4889 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-06 08:02:43 +00:00
Jacques Garrigue 082377df68 final cleanup of build_subtype
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4870 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-04 07:37:19 +00:00
Jacques Garrigue 685a839af6 handle correcty delayed binding mode in types and patterns
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4866 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-03 07:33:48 +00:00
Jacques Garrigue c3f8585a18 must check recursion on constructors in build_subtype
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-02 09:06:51 +00:00
Jacques Garrigue 7adf53a19b error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4864 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-31 13:56:25 +00:00
Jacques Garrigue 3a33e519eb no need to restrict arrow subtyping anymore
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4863 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-31 03:11:07 +00:00
Jacques Garrigue 21e57202d4 limit enlarge_type to 2 expansions involving object/variants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4862 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-30 06:24:45 +00:00
Jacques Garrigue 3c3f028a73 change approach for slow subtyping, use counter
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4861 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-29 14:29:57 +00:00
Jacques Garrigue 418790e32b restrict recursion in enlarge_type
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4860 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-29 12:34:20 +00:00
Damien Doligez db702a9f31 toujours imprimer les tuples avec des parentheses
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4853 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-28 16:53:51 +00:00
Luc Maranget 588f1bf2ba la nuit porte conseil, traitement correct des #t et des variants absents dans satisfiable et every_satisfiable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4842 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 08:04:03 +00:00
Jacques Garrigue 3751d24d01 unused match warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4838 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 03:09:18 +00:00
Jacques Garrigue 4ad2a0f0f2 fix again PR#1137
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4837 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-25 22:46:39 +00:00
Luc Maranget d008daf24e a zut, j ai commis un bug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4831 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-24 15:35:25 +00:00
Luc Maranget 842eb76ef7 Nouveaux warning dans les or-pats
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4830 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-24 14:34:37 +00:00
Jacques Garrigue 6c7910573e a bit cleaner
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4827 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-17 08:40:15 +00:00
Jacques Garrigue 81d641867f check_unused_variant -> finalize_variant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4826 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-17 08:29:49 +00:00
Jacques Garrigue d97864a3f7 correct scope bug in Typedtree.alpha_pat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-17 03:58:35 +00:00
Jacques Garrigue bcef7b48e0 strange bug revealed by searchpos.ml ?!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4814 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-16 10:36:10 +00:00