Commit Graph

719 Commits (a3c0366f4e41bed30ba2170d782d06fbbfd1b8ba)

Author SHA1 Message Date
Jacques Garrigue f0bbfb7043 sous-typage des abbreviations privees et methodes polymorphes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8697 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-30 12:37:45 +00:00
Pierre Weis 99c5f87045 Le predicat is_float utilise expand_head_opt pour optimiser aussi les champs de records dont le type est une abbreviation privee.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8685 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:30:25 +00:00
Pierre Weis 2cf7ed4450 Arguments homogenes pour le predicat private_flags.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:27:35 +00:00
Pierre Weis 3013dc544d Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8683 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:26:05 +00:00
Jacques Garrigue e1bf691bf1 PR#4453
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8526 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-19 13:15:51 +00:00
Pierre Weis 2a99b8737b Expanding the usual compiler's type-based optimisations to private abbreviations.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-01 18:36:43 +00:00
Jacques Garrigue bbc5f6891a strengthen private abbreviations too
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8438 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-19 13:25:21 +00:00
Jacques Garrigue 8eb8c5bc27 Ptyp_class a une rangee
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-18 03:58:41 +00:00
Jacques Garrigue 122074d47c prive < (public) abstract !
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8436 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-18 03:58:07 +00:00
Jacques Garrigue 8c5ed4dd1f corrige rangees privees apres introduction abbreviations privees par PW
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8435 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-18 03:38:28 +00:00
Pierre Weis 59e0723455 It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Damien Doligez 1dd68ccf50 ajout des annotations pour variables et appels terminaux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-16 08:21:41 +00:00
Jacques Garrigue 4f6daca4b2 error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7936 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-27 04:54:05 +00:00
Jacques Garrigue 2acec46b9e fix bug 2007-02-27 by Lukasz Stafiniak
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7935 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-27 04:38:11 +00:00
Jacques Garrigue 68006b7571 fix bug 2007-02-27 by Lukasz Stafiniak
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7934 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-27 03:46:19 +00:00
Nicolas Pouillard 81cfc29b31 Better handling of multiple extensions (foo.d.cmo, foo.p.cmx...)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 13:44:51 +00:00
Jacques Garrigue af7cc2dcb8 fix Carette's bug 2007-02-18
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7884 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-19 00:49:16 +00:00
Jacques Garrigue d78838fdd3 typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7876 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-16 11:18:54 +00:00
Jacques Garrigue 4024589fba subtyping errors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7875 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-16 11:18:36 +00:00
Jacques Garrigue 033ce4b17a Do not reset type variable names in Unbound_type_var (PR#4191).
Avoid breaking PR#1412.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7780 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-12-27 14:41:23 +00:00
Jacques Garrigue a4fe6ac960 keep sharing when not using -principal
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7778 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-12-21 12:07:53 +00:00
Pierre Weis 236baa6ee4 Encapsulation of system specific exports in module Printf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:34:05 +00:00
Jacques Garrigue 84b420f2fe expand only once in update_level
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-02 02:19:49 +00:00
Jacques Garrigue ec74077dfa name recursion for private types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7712 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-02 01:10:04 +00:00
Pierre Weis 5770271304 Typechecking of user's defined readers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 22:07:47 +00:00
Pierre Weis ba75b851b4 Format string now typecheck to format6.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7704 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 21:16:10 +00:00
Pierre Weis 7e2072cfb7 Type format4 is no more a predefined type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7702 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 20:54:58 +00:00
Pierre Weis 0be3884f18 Introducing format6 as a built in type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 20:42:41 +00:00
Xavier Leroy f976176626 PR#4132: faster type-checking of module-intensive programs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7689 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-13 12:56:28 +00:00
Pierre Weis ebd5102f96 Format string typing needed adjustment after correction of bug 0004119.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 10:03:16 +00:00
Luc Maranget 6c05350ca4 Corrrect fragile matching
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7634 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-21 14:54:54 +00:00
Damien Doligez fbea66a95e fusion des changements 3.09.2 -> 3.09.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Jacques Garrigue 7278d4c343 fix PR3999/4082
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-11 22:40:19 +00:00
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