Commit Graph

685 Commits (be02f13ef5aab4ecc69d5da1028968077f2796d0)

Author SHA1 Message Date
Jacques Garrigue 6f6b1849c5 -rectypes obligatoire pour les dependences
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-26 09:38:06 +00:00
Jacques Garrigue c1743d099f PR#4026
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7438 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-12 07:33:14 +00:00
Jacques Garrigue 5d7edf5d8c contravariance bug in with constraints for private rows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-21 06:18:51 +00:00
Jacques Garrigue b06093c109 fix PR#4002
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7384 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-18 00:28:12 +00:00
Damien Doligez 1279ab4b76 fusion des changements 3.09.1 -> 3.09.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Pierre Weis b9b6e0fa2c Preparing printf positional specifications.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7373 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 11:46:47 +00:00
Jacques Garrigue 602146f892 add virtual instance variables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 02:28:13 +00:00
Jacques Garrigue 12349a56be fix PR#3946
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-06 02:25:38 +00:00
Jacques Garrigue 24469ed930 PR#3916
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-06 02:16:45 +00:00
Jacques Garrigue 1e003d6855 dead code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7314 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-06 02:16:24 +00:00
Damien Doligez 125ea40d4c fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Jacques Garrigue 86e7954b73 fix PR#3855
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-11-14 08:07:12 +00:00
Damien Doligez cf7bc7b781 ajout .mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7167 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-26 12:39:02 +00:00
Jacques Garrigue 728fbc648e must strengthen private row types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7091 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-28 07:18:30 +00:00
Jacques Garrigue e8927c7a5f fix bug Wohlwend caml-list 2005-09-19
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7058 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 04:08:49 +00:00
Jacques Garrigue c54747bf82 warn about useless with in record
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7051 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-15 03:09:26 +00:00
Jacques Garrigue f752003267 subtyping polymorphic variants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7024 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-19 03:50:12 +00:00
Jacques Garrigue 5bef38ba93 bug in object subtyping + subtyping forget constraints
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-17 05:38:23 +00:00
Jacques Garrigue c78bc94a7a subtyping private types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7022 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-16 09:47:31 +00:00
Jacques Garrigue 83c0f7bb46 fix merge problems with 3.08.4 (PR#3758)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-16 00:48:56 +00:00
Damien Doligez a4a3c10e70 fusion des modifs de 3.08.4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7019 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-13 20:59:37 +00:00
Xavier Leroy 0ba3106399 Retour en arriere sur la simplification des signatures inferees (fix du PR#3545 du 2005-08-02), qui est completement bugge
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-08 09:41:52 +00:00
Jacques Garrigue 5640bb83d7 bug in private rows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7011 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-08 05:40:52 +00:00
Xavier Leroy 754bc39c90 Systematiser la simplification des signatures inferees (PR#3545)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7005 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-02 09:49:30 +00:00
Xavier Leroy f55d676d2c Interdire les references Foo.x lorsqu'on compile foo.ml ou foo.mli (PR#3100, 3304, 3457)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6998 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-31 12:03:40 +00:00
Pierre Weis 2815135617 Char ranges in format strings where not handled properly (wrong parsing).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:11:26 +00:00
Jacques Garrigue 8c87123e86 portee des variables de type
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6977 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 06:42:36 +00:00
Jacques Garrigue c9fb98c676 error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 04:30:19 +00:00
Jacques Garrigue 8e25cec9c4 definition plus claire du partage des variables de types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6975 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 04:11:47 +00:00
Jacques Garrigue d21579ac02 fix potential bug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6969 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-12 23:50:45 +00:00
Jacques Garrigue 57cf3cecd4 fix PR#3638
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6967 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-12 11:38:45 +00:00
Jacques Garrigue c7a3c042df fix PR#3705
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6966 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-12 01:07:09 +00:00
Jacques Garrigue b20551ecda check variance for row-variable too!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6964 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-11 08:07:59 +00:00
Jacques Garrigue 3aa312d98b do not force presence for variants with only 1 constructor
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-13 01:11:02 +00:00
Jacques Garrigue 5a34c088cc when using -rectypes, expand abbreviations to detect cycles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6905 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-03 01:42:00 +00:00
Jacques Garrigue c681a7edcf fix PR#3577 (only check variance for (semi-)abstract types)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6832 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-05 09:07:42 +00:00
Jacques Garrigue 827d03d59f bug in type_approx
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-04 04:34:53 +00:00
Jacques Garrigue eb57cd1912 pas de conflit avec 3.08.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6826 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-25 00:42:54 +00:00
Damien Doligez e6007f6057 fusion des changements jusqu'a 3.08.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +00:00
Damien Doligez 6dea6b4af8 meilleurs messages d'erreur pour let rec
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6822 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 12:19:54 +00:00
Jacques Garrigue ef396b4e5a merge fixedtypes branch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6821 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-23 03:08:37 +00:00
Luc Maranget d945bc62f4 Match compiler : prune context for all mutable fields
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6809 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-11 10:12:05 +00:00
Jacques Garrigue 36f117f200 fix poly method subtyping
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6806 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-10 08:20:08 +00:00
Jacques Garrigue ca3abc51a8 fix poly method printing
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6805 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-10 08:19:22 +00:00
Pierre Weis 280dcb3097 Correcting bug about erroneous erro reporting in case of wrong
conversions in format strings.
Static and dynamic messages about wrong format strings are now very
similar in printf.ml, scanf.ml, and typecore.ml.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6802 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-04 14:51:31 +00:00
Jacques Garrigue a136415ab1 do not retype private types in as-patterns
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6790 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-18 13:38:00 +00:00
Jacques Garrigue 31d18ccc59 use explicit variance for private types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6780 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-06 01:37:33 +00:00
Jacques Garrigue 6d23fc5722 make private types abstract for variance
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-10 01:52:12 +00:00
Jacques Garrigue 2b9fbaf3c0 print variance only when needed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6733 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-09 12:51:55 +00:00
Jacques Garrigue aebbdaaa11 dead code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6732 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-09 12:45:10 +00:00