Gabriel Scherer
f794d799ad
typing: fix the scope of extension constructor declarations
...
fixes #9970
2020-11-23 14:30:59 +01:00
Florian Angeletti
40e40a9c20
compilerlibs: expose parsers for 'Longident.t's
2020-01-09 16:45:39 +01:00
Mekhrubon Turaev
77b876a117
reseting context in constructors and labels methods before printing
2019-07-30 16:20:30 +01:00
Mekhrubon Turaev
4725a9726d
added tests for printing type Tvars
2019-07-30 16:17:02 +01:00
Mekhrubon Turaev
407d650f6e
Printing additional info about types mismatch during compilation error.
2019-07-30 09:51:02 +01:00
Mekhrubon Turaev
6cb5905c27
Improved type hierarchy for type mismatches ( #8828 )
...
Added special types for variants, records, constructors or labels type mismatch.
Printing additional info about types mismatch during compilation error.
2019-07-30 08:56:28 +01:00
Leo White
fb497f1c82
Fix soundness issue in extension constructor inclusion
2019-07-11 17:16:08 +01:00
Leo White
e9c83fae5d
Add more extension constructor tests
2019-07-11 17:16:08 +01:00
Guillaume Bury
aec35c5f44
Better error message for private constructors of extensible types ( #8579 )
2019-04-04 13:03:26 +01:00
yallop
ee1c2a4d7e
Add paths for built-in types ( #1876 )
...
* Add an Extension_constructor submodule to Obj.
Deprecate top-level functions extension_constructor / extension_name /
extension_id.
* Add 'true' and 'false' to the definition of Bool.t
* Add aliases for the built-in 'list' and 'array' types.
* Add an alias for 'exn' to Printexc.
* Changes entry: built-in type aliases
* Add a Unit module.
* Add paths for built-in exceptions.
2018-11-08 16:08:17 +01:00
Nicolas Ojeda Bar
c6e82a808b
Migrate typing-extensions tests to ocamltest
2017-12-05 17:18:36 +01:00
Leo White
d41c41c172
Add private extensible variants
2017-09-11 13:29:56 +01:00
David Allsopp
563ae284a4
Ensure testsuite works with OCAMLRUNPARAM=b
...
Ensure that tests which analyse exception messages explicitly disable
backtrace printing.
2017-06-16 11:18:49 +02:00
Jeremie Dimino
d3b60c8dce
Use the extension_constructor type in Obj
...
Rename Obj.extension_slot to Obj.extension_constructor as well
2015-11-27 17:57:41 +00:00
Damien Doligez
b860d63145
whitespace cleanup, cut long lines, add some missing headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-09-11 11:58:31 +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