Leo White
ecfaffe9de
Short circuit simple inclusion checks
2020-03-04 15:20:32 +00:00
Thomas Refis
aa0acfb36e
subst: explicitly rescope signatures (WIP)
2019-04-16 10:56:05 +01:00
Thomas Refis
d29455fcd4
enforce that every call to save_desc is necessarily followed by cleanup_types ( #2261 )
2019-02-25 09:48:50 +00:00
Thomas Refis
314a9ddc97
Revert "update locations for destructive substitutions"
...
This reverts commit f8a80702c0
.
2018-10-08 11:06:31 +01:00
Thomas Refis
4d4fd525c9
move refresh_signature out of Subst, add Env.enter_signature
2018-09-21 11:48:47 -04:00
Thomas Refis
edf310ec28
properly scope idents
...
- when including: the elements are rescoped to the current level (as
well as being given a fresh stamp, which was already the case)
- extension constructors idents cannot be local: they can be used as
types when the constructor's argument is an inlined record. They must be
given a scope
- in check_recmod_inclusion: create a new scope at each iteration
- when checking that type declarations inside recursive modules are well
founded, we now take a generic instance of the declaration (this is
reminiscent of what is done in Ctype.moregeneral)
2018-09-21 11:47:44 -04:00
Thomas Refis
c00a46e2cf
more precise extension mismatch error messages
2018-08-09 10:18:54 +01:00
Thomas Refis
f8a80702c0
update locations for destructive substitutions
2018-05-29 15:26:16 +01:00
Leo White
5cb27d8ebb
Merge pull request #792 from sliquister/generalize-destr-subst2
...
Fixing the limitations on destructive substitutions
2017-09-15 09:29:29 +01:00
Fourchaux
72cfdd56e9
Typos and basic grammar error fixing ( #1280 )
2017-08-10 11:59:23 +01:00
Valentin Gatien-Baron
ff05023fde
Support syntax: S with module M.N := ..
2017-08-01 07:40:01 -04:00
Valentin Gatien-Baron
f29cd5ab6d
Support syntax: S with M.N.t := ...
2017-08-01 07:32:08 -04:00
Valentin Gatien-Baron
44b6bbf5d1
Support syntax: S with type t := valid-type-expression
2017-07-29 17:18:32 -04:00
Jacques Garrigue
5352e4b633
Fix PR#7414 by adding Mtype.lower_nongen
2016-11-21 17:59:42 +09:00
Jacques Garrigue
05922fa6f9
Fix PR#7152: lower level of non-generalized variables to binding time of enclosing module
2016-03-06 23:17:45 +09:00
Damien Doligez
5401ce8473
Update headers for the new license.
...
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
Damien Doligez
860c670848
merge branch 4.02 from 4.02.1 (rev 15540) to a few fixes after 4.02.2 (rev 16205)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16214 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-07-17 14:31:05 +00:00
Jacques Garrigue
b56dc4b3df
PR#5584: merge open extensible types, extension-patch-4.0.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14737 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-04 23:08:45 +00:00
Alain Frisch
cc31694f7c
Keep attributes on module declarations.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-27 17:05:39 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Fabrice Le Fessant
d39d43e55f
merge with branch bin-annot
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-30 14:52:37 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
04b1656222
clean up spaces and tabs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez
ed32f569e3
merge changes from ocaml3110 to ocaml3111rc0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Damien Doligez
9ea5edac9a
merge changes 3.10.0 -> 3.10.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +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
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
cc0f32b054
Changement de la licence
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Jérôme Vouillon
87b17301f4
Nouvelle syntaxe des classes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1997 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-06-24 19:22:26 +00:00
Jérôme Vouillon
08cc364187
Pas besoin de Env.level et Subst.limit_level finalement...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1454 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-24 20:12:33 +00:00
Jérôme Vouillon
a08f9b10f1
Limitation du niveau des variables non generiques
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-14 15:16:30 +00:00
Xavier Leroy
033ec5b736
Decoupage du module Typedtree en deux: Types et Typedtree.
...
Sauver l'environnement de typage en plus du type dans les a.s.t. de Typedtree.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1008 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-09-23 11:33:27 +00:00
Xavier Leroy
2301d778e7
Renommage en Objective Caml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Jérôme Vouillon
7974a9d8b1
Extension objets.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@756 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-22 11:15:41 +00:00
Xavier Leroy
e4066357b1
Ajout des notices de copyright
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-09 15:06:35 +00:00
Xavier Leroy
61bd8ace6b
Passage a la version bootstrappee (franchissement du Rubicon)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-05-04 10:15:53 +00:00