Commit Graph

435 Commits (f758d5f971bbc42f7ff7c21cfe1303448e15b3df)

Author SHA1 Message Date
Jacques Garrigue 6700412bae do not share expansions of #-types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4695 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 08:06:13 +00:00
Jacques Garrigue 0a8236066f vive les methodes polymorphes!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 07:27:47 +00:00
Jacques Garrigue 98ca2c1b3e make it clearer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4689 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 03:44:44 +00:00
Jacques Garrigue 08968d669c normalize more
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4646 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-15 02:11:32 +00:00
Jacques Garrigue c5a2036429 normalize for multiple files and trim cmi size
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-04 22:19:02 +00:00
Jacques Garrigue a35fbd9077 forget row_bound
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4593 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-04 13:43:11 +00:00
Jacques Garrigue cc80242179 normalize signatures before saving
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-04 03:49:58 +00:00
Xavier Leroy 73ce0ac808 Simplifier lors de l'affichage les declarations val et exception redondantes dans les signatures inferees
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-12 12:35:10 +00:00
Jacques Garrigue b86c3f21e9 forget_abbrev avait l'air faux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4406 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-14 08:45:57 +00:00
Daniel de Rauglaudre 9a6488158c -
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-13 13:08:57 +00:00
Daniel de Rauglaudre 50fa875408 -
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-13 12:51:21 +00:00
Daniel de Rauglaudre 1a2ab84a39 ajoute interface pour oprint
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4397 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-13 12:17:56 +00:00
Daniel de Rauglaudre 50161b7513 Regroupement des impressions "outcometree" dans un seul module oprint.ml.
Ajout de hooks de print dans toploop.mli.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-13 11:09:19 +00:00
Xavier Leroy 71cf31f0e2 Ajout du packaging d'unites de compilation (option -pack)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4367 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-08 16:55:44 +00:00
Jacques Garrigue cb046b351a finish PR#841
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4334 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-01 10:03:12 +00:00
Jacques Garrigue bfc6db3edc PR#841
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4333 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-01 02:49:48 +00:00
Damien Doligez 0dbce74fc8 lazy a la Tolmach
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:39:10 +00:00
Damien Doligez bd6601d913 poteau sur max_tag
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4289 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:29:18 +00:00
Damien Doligez 13356e7c5e detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 15:12:21 +00:00
Jacques Garrigue 1dd02127e7 corrige ordre dans type de classe
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-10 08:15:44 +00:00
Jacques Garrigue 2f149a6ea9 variant tag error messages
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-04 02:02:50 +00:00
Jacques Garrigue 228ca372d0 pretty-printing of type declarations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4187 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-26 07:42:42 +00:00
Jacques Garrigue 9d64cd3489 PR#734
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4186 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-26 03:50:22 +00:00
Jacques Garrigue 584b29650a PR#743
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4185 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-26 03:43:41 +00:00
Jacques Garrigue 20a6cd3e17 wrong warning
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4141 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 07:27:59 +00:00
Jacques Garrigue d1a23c4b67 really fix PR#674
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-06 00:19:35 +00:00
Jacques Garrigue 393ec18f1b keep the vars ref in sync with met_env
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4090 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-04 09:19:38 +00:00
Jacques Garrigue 6eebc6af4d correction PR#674
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4087 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-04 03:29:44 +00:00
Jacques Garrigue b1c96a931f message d'erreur pour type en cours de definition
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4059 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-28 02:14:39 +00:00
Jacques Garrigue a9c7371f2e changement de representation des variants pour etre vraimet correct
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4035 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-23 14:28:21 +00:00
Jacques Garrigue 0a76c3b41e copie correcte des variants polymorphes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4034 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-23 04:35:48 +00:00
Jacques Garrigue e3206bb26c plus correct
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-22 13:22:55 +00:00
Jacques Garrigue e551820eef simplify code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4032 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-22 10:41:29 +00:00
Jacques Garrigue 86827528b3 remarques de Jamie et Pierre
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-22 06:47:29 +00:00
Jacques Garrigue af5ee6951f solve PR#3 (type abbreviation hides constraints)
pitfall: all constraints are shown, even if no new constraint was
introduced.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-19 09:49:56 +00:00
Jacques Garrigue 3b7bdb3044 improve error messages (PR#633)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4016 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-16 09:07:09 +00:00
Jacques Garrigue 50fc257b4c fix PR#632 (incorrect generalization of variants in classes)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-16 07:26:56 +00:00
Luc Maranget 472be6f6b0 bug idiot et inoffensif
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4004 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-12 11:02:40 +00:00
Jacques Garrigue e6771d6552 allow coercions from self to own class (when safe!)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-05 09:12:59 +00:00
Jacques Garrigue fb02d3be22 clear type pairs as soon as possible
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3977 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-05 09:04:08 +00:00
Maxence Guesdon 263de502b9 Ajout de reset_names dans l'interface
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3966 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-31 15:41:11 +00:00
Xavier Leroy d2ae59c3ab Ajout formats pour int32, nativeint, int64. Support pour * dans les specifications de formats.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3935 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-28 14:22:05 +00:00
Jacques Garrigue 2d875fd83d types of functions as parameters was computed twice (PR#590)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3906 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-22 02:39:25 +00:00
Jacques Garrigue e98cbab81d un print_space de trop dans print_out_type_decl
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3895 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-19 03:05:30 +00:00
Luc Maranget 77e6695ed6 better message for non-exhaustive matchings, when when matters
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3856 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-04 16:06:31 +00:00
Luc Maranget 679b536674 special message for all-when case
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3854 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-04 09:03:44 +00:00
Luc Maranget d113c2c682 warning for empty PM + option -notk for configure
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3853 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-04 08:39:49 +00:00
Maxence Guesdon 6cadb65dba Ajout d'une fonction type_cheme_max utilisée pour ocamldoc. Elle est susceptible d'etre modifiée selon les besoins d'ocamldoc. Elle est identique à type_scheme à ceci près qu'elle ne fait pas de reset_names.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3818 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-01 14:09:52 +00:00
Jacques Garrigue 0697c6771b change tree_of_* functions to produce type variables in the right order
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3813 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-29 02:40:59 +00:00
Jacques Garrigue 23306c8c51 correction du PR#547: un Not_found produit par find_type s'echappe
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3810 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-28 22:55:27 +00:00