Commit Graph

651 Commits (0a4f57d5b727a2b2bd78d5458f90f544c82bd222)

Author SHA1 Message Date
Gabriel Scherer fc8c777825 fix testsuite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14786 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-10 20:25:10 +00:00
Gabriel Scherer 755b19650b Reformulation of the user-facing slot-access API
- The internal [backtrace_slot] type is not exposed anymore, instead
  accessors function return orthogonal information
  (is_raise, location). This is both more extensible and more
  user-friendly.

- The [raw_backtrace_slot] is exposed separately as a low-level type
  that most users should never use. The unsafety of marshalling is
  documented. Instead of defining
  [raw_backtrace = raw_backtrace_slot array], I kept [raw_backtrace]
  an abstract type with [length] and [get] functions for
  random-access. This should allow us to change the implementation in
  the future to be more robust wrt. marshalling (boxing the trace in
  a Custom block, or even possibly the raw slots at access time).

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-10 19:20:00 +00:00
Gabriel Scherer 3dae9e6014 improve backtrace testsuite
Test the behavior of the deprecated primitive [caml_get_exception_backtrace],
and minimal tests for hashing/comparison of raw backtrace slots.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-10 19:19:57 +00:00
Jacques Garrigue b6500cc2a4 Fix PR#6405: unsound interaction of -rectypes and GADTs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14769 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-09 05:46:07 +00:00
Jacques Garrigue 88e8bec163 Fix PR#6394: Assertion failed in Typecore.expand_path
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14757 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-07 10:55:05 +00:00
Alain Frisch 0f1fb19cbe #6318: Extend match...with with exception cases. (Patch by Jeremy Yallop, backend part by A. Frisch).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14743 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-05 11:49:37 +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
Xavier Leroy b691a28d15 Some updates for SPARC
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14731 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-03 18:20:33 +00:00
Damien Doligez 5b8df637d2 merge branch "safe-string"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-29 11:56:17 +00:00
Jacques Garrigue 48f52f450c merge Leo's patch for PR#6384
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14702 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-29 02:25:04 +00:00
Jacques Garrigue 6cb386e91c Fix PR#6383: Exception Not_found when using object type in absent module
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-28 13:29:51 +00:00
Damien Doligez 9639370d40 update to use the git version of camlp5
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-25 22:33:52 +00:00
Jacques Garrigue 979fe8b8ad Do not add absolute paths for information added to
the local environment in Env.components_of_module_make.
Fixes the bug reported by Mark Shinwell on caml-devel,
on 2014-04-23. This bug was related to module aliases.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14674 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-25 09:09:08 +00:00
Xavier Leroy 29b34438e0 - Constant ropagation for float and int32/int64/nativeint arithmetic.
Constant propagation for floats can be turned off with option
  -no-float-const-prop, for codes that change FP rounding modes at
  run-time.
- Clambda / C-- / Mach: represent float constants as FP numbers of type 
  float rather than literals of type string.
- Tested for AMD64; other archs need testing.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-25 08:41:13 +00:00
Damien Doligez 07bc0e6580 update expected test results following commit 14660
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14663 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-23 09:05:59 +00:00
Alain Frisch 9e23ded0d1 Check unicity of types introduced through exceptions. Do not discard exceptions from signatures if they introduce a type.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@14662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-22 16:09:31 +00:00
Alain Frisch eb617b5fe7 Synchronize with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@14657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-22 14:33:41 +00:00
Alain Frisch 942046117f Consider that exceptions with a record argument create an implicit type.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@14655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-22 12:35:02 +00:00
Jacques Garrigue 82e2f35a14 Fix PR#6376
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14650 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-21 10:38:04 +00:00
Jacques Garrigue 5db6318900 Fix PR#6371
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-16 06:16:05 +00:00
Alain Frisch 6346154d4b Synchronize with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@14587 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-14 11:52:29 +00:00
Damien Doligez 2ffe809f11 fix bug in test program
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14583 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-12 10:45:42 +00:00
Damien Doligez 7303ac34ca fix some of the whitespace problems in the source
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14582 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-12 10:17:02 +00:00
Damien Doligez 7b52e6477c remove tests that depend on camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14581 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-12 07:24:13 +00:00
Alain Frisch 907c477c02 Produce type equation on exception rebinding with a record argument.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@14570 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-09 17:38:08 +00:00
Alain Frisch 3296c74189 Continue support for record argument on exceptions.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@14569 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-09 16:52:11 +00:00
Jacques Garrigue fb74ef5e51 Fix PR#6365
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14565 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-09 04:01:26 +00:00
Alain Frisch 632eb11246 For GADT constructors, the type parameters of the original sum type cannot be used for the synthesized record types.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@14563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-08 15:52:14 +00:00
Alain Frisch ca1e303b56 Keep the id for the synthesized sub-declaration in Cstr_record.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record3@14560 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-08 13:24:24 +00:00
Gabriel Scherer 3a0d4ac883 testsuite for primitive bound checking
(Patch by Pierre Chambart)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14555 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-07 15:07:33 +00:00
Alain Frisch 8da19ea098 Reference.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record2@14551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-07 13:03:32 +00:00
Damien Doligez e8d15e704c merge branch 4.01 from 4.01.0 (revision 14115) to branch closure (revision 14525)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14532 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-04 17:32:35 +00:00
Alain Frisch 1d5122c2ef Get rid of 'as' clause in inline records. Support re-export of sum types with inline records.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record2@14529 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-04 08:57:05 +00:00
Jacques Garrigue 2699d155a0 Fix PR#6352
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-03 03:59:17 +00:00
Jacques Garrigue 12a2e9fa03 comment 9644 of PR#6000: principality check for coercion to format
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-03 02:52:51 +00:00
Damien Doligez f0d0c5808e skip debugger test when dynlink is not available
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14490 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-25 15:41:46 +00:00
Luc Maranget c2a88c27fd #PR6269 Optimized string matching
Noticed that I had to bootstrap to test on ARM, so I commit  a new bootstrap
compiler.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-21 17:02:44 +00:00
Gabriel Scherer 9e410c0cfe Shorten syntax for functor signatures (patch by Thomas Gazagnaire)
```
(* Optional naming of parameter implementation *)
module type X = functor (X:S) -> ...
module type X = functor (_:S) -> ...

(* shortening of functor module signatures *)
module type F = functor (X:S) -> functor (Y:S) -> ...
module type F = functor (X:S) (Y:S) -> ...
```

For consistency reasons, this commits also add shortening of functor implementations:

```
(* shortening of functor implementations *)
module F = functor (X:S) -> functor (Y:S) -> ...
module F = functor (X:S) (Y:S) -> ...
```

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-20 15:21:00 +00:00
Alain Frisch 05982a5fc7 Fix Makefile.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14473 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-20 15:03:49 +00:00
Alain Frisch 7578b585a1 Also check sharing of immutable constants.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14470 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-20 13:27:50 +00:00
Alain Frisch 8583d7f9d5 Add non-regression test for #5779.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14469 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-20 13:25:21 +00:00
Alain Frisch 87e2ff9b06 #6345: better compilation of optional arguments with default values.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14466 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-18 16:54:32 +00:00
Jacques Garrigue 65b1193406 Fix PR#6307
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14451 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-10 02:54:02 +00:00
Jacques Garrigue d59bd570d7 Structural typing of first class modules (cf. PR#6333)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14450 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-10 02:06:10 +00:00
Jacques Garrigue eaf5646196 Fix PR#6331
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14443 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-02-25 08:16:25 +00:00
Luc Maranget 89a627f55b PR#6322 Corrected.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14432 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-02-06 13:30:54 +00:00
Alain Frisch 3fb69be047 Fix testsuite (rely on compilerlibs to be more robust).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14423 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-01-28 14:03:45 +00:00
Jacques Garrigue eaa8a78f94 Fix PR#6303
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-01-23 01:58:37 +00:00
Jacques Garrigue df68b17460 Fix PR#6293
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-01-14 11:29:31 +00:00
Jacques Garrigue 3b4d7cf63b Merge module-alias branch (cf. PR#6063)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-01-10 07:53:33 +00:00
Jacques Garrigue 33ad3e0a94 udate test: let supports GADTs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-24 05:11:36 +00:00
Damien Doligez 61a4334e27 test/tool-debugger: add simple test for the debugger
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14381 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-19 14:47:26 +00:00
Jacques Garrigue cfa350c31a merge generative functors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14365 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-17 03:52:50 +00:00
Jacques Garrigue 024c8ad498 Fix PR#6275
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14363 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-17 01:39:41 +00:00
Alain Frisch 32dddc3f82 #6262: equality of first-class modules take module type aliases into account. Fix interaction with module inclusion.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14342 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-05 14:57:10 +00:00
Damien Doligez c2651f0065 fix testsuite makefile: openbsd does not support PWD env variable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-05 10:15:29 +00:00
Damien Doligez 0f6873a183 make the testsuite work on cygwin-64, where dynamic linking is not yet available
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14336 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-03 14:42:23 +00:00
Xavier Leroy 33f242aaea Reverting the elimination of the ocamlcomp*.sh scripts, namely the following commits:
14278
14277
14276
14176
14175
14173
14172
14171
14169
14168
14167
These changes need to mature on their own branch.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14329 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-29 13:04:38 +00:00
Damien Doligez f093afd67d testsuite/external: update coq, lablgtk, alt-ergo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-28 17:50:22 +00:00
Damien Doligez ed23a31e78 typo in test log message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-27 16:02:43 +00:00
Damien Doligez cde0013ef6 update for latest trunk changes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14314 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-27 15:44:30 +00:00
Jérémie Dimino 5d917633ad remove camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/minus-camlp4@14309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-21 16:23:28 +00:00
Jacques Garrigue 9b974c162f Fix PR#6241
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14305 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-19 11:07:39 +00:00
Jacques Garrigue c20af454f3 Fix PR#6240
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14301 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-18 06:44:13 +00:00
Jacques Garrigue 2a011d7095 Fix PR#6240
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14299 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-18 01:26:40 +00:00
Jacques Garrigue b4f8172430 also generate module aliases when using include
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14295 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-15 15:19:25 +00:00
Alain Frisch f16534ef1a Reintegrate raise_variants branch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14289 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-13 13:55:13 +00:00
Jacques Garrigue b7ab7460d5 Fix PR#6235 + keep typing of pattern cases independent in principal mode
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14285 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-13 00:16:03 +00:00
Jacques Garrigue 5d379f7706 use new scrape_alias for Env too
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-11 05:00:10 +00:00
Jacques Garrigue 00fa4010df forgot test...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14280 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-11 03:51:27 +00:00
Jacques Garrigue 956e258a12 use a strengthening version of scrape_alias in Typemod
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14279 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-11 03:37:46 +00:00
Xavier Leroy ab9f3e38fb PR#6042: optimize integer division and modulus when divisor is constant.
So far, implemented only for amd64.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14254 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-01 16:35:54 +00:00
Jacques Garrigue 9212dd34ac Add test for PR#6216. Not fixed yet.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-30 02:57:59 +00:00
Jacques Garrigue 04bc532c2b Fix PR#6174 (-rectypes case)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14248 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-28 12:08:04 +00:00
Jacques Garrigue 09387da800 Fix PR#6174 (non -rectypes)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14246 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-28 11:49:29 +00:00
Jacques Garrigue 8fb5fdc9f2 merge trunk:14244 to fix bootstrap
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14245 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-24 04:19:08 +00:00
Alain Frisch 87844a6402 Accept change of internal ids.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/raise_variants@14243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-23 15:29:33 +00:00
Alain Frisch 4df8c363e8 Fix testsuite.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/raise_variants@14233 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-15 13:12:52 +00:00
Alain Frisch 349f151c0d Fix testsuite.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14221 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-10 12:29:31 +00:00
Jacques Garrigue c628fb2dc9 Do not add module aliases to imports
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14219 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-08 08:18:38 +00:00
Jacques Garrigue 199ace8189 applicative functor application
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14218 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-08 07:21:41 +00:00
Jacques Garrigue 7a904bb8db make path normalization safer; now Core not only compiles but works
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-04 02:06:40 +00:00
Jacques Garrigue c74f7c60e2 fix path comparison. still a problem with FCMod in Core.Binable
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14208 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-02 13:23:48 +00:00
Jacques Garrigue 251289a3a1 fix exn_rebind: camlp4 compiles again
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14207 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-02 08:34:01 +00:00
Jacques Garrigue 6ffc859a5c everything works except camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14204 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-01 03:17:11 +00:00
Jacques Garrigue eda1266114 passes the testsuite!
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14202 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-30 15:54:02 +00:00
Jacques Garrigue 5f68db9cf0 Merge trunk at revision 14200. Now everything works except private types
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14201 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-30 13:54:59 +00:00
Jacques Garrigue 4c5e9bbe6b mostly works, but:
* a strange bug in open
* spurious bindings in the lambda code


git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14200 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-30 11:35:15 +00:00
Jacques Garrigue e686ed503a now works with nested structures; still problems inside functors
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14199 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-30 03:18:47 +00:00
Jacques Garrigue 9ddb346f54 do not alias functor parameters + some problems with coercions not fixed yet
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14198 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-30 02:10:21 +00:00
Jacques Garrigue e0cdc52ba0 module translation + bad functor example
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-29 11:49:07 +00:00
Jacques Garrigue 97899f37ca Support module aliases.
Namely, you can write "module L = List" in signatures,
and avoid have the compiler use directly List when you write L.
See examples in testsuite/tests/typing-modules/aliases.ml


git-svn-id: http://caml.inria.fr/svn/ocaml/branches/module-alias@14196 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-29 07:22:34 +00:00
Alain Frisch 8bf3d1cda9 Fix tests.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14192 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-27 13:26:56 +00:00
Wojciech Meyer 241585bc83 build: replace ocamlcomp*.sh.
This script was built from ocamlcomp.sh.in through sed and is called
instead of "ocamlc" (for instance).
It makes it possible to switch from "ocamlc" to "ocamlc.opt" without
changing anything in the Makefiles, only calling sed.

I couldn't cleanly make it handle both a compiler for the target and for
the build. Instead I'm replacing it and doing as much as possible
directly in the Makefiles.
I hoped it would reduce the number of shell invocations, which would
speed things up quite a lot on Windows but I still had to have at least
one since it's not possible to update a make variable from inside a make
rule: i.e. it's not possible to do X=a, build a.opt and update X to be
a.opt.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14168 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-20 00:22:38 +00:00
Jacques Garrigue 010728722f PR#6173: Improve error messages for type-based disambiguation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-19 07:25:51 +00:00
Alain Frisch 3574cf070c Accept changes (spurious warnings are gone).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14161 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-18 10:57:29 +00:00
Damien Doligez fadcc73c50 Merge branch 4.01 from 4.01.0+rc1 to 4.01.0
Command line used:
  svn merge --accept postpone -r 14055:14115 $REPO/version/4.01 .


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14121 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-12 15:21:52 +00:00
Jacques Garrigue 1d1b6c157b add test results for PR#6163
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14066 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-06 05:44:48 +00:00
Jacques Garrigue d09dee8f9c Fix PR#6163
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-06 05:35:55 +00:00
Jacques Garrigue 7185e693f5 Fix PR#6158
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14062 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-05 08:25:30 +00:00
Damien Doligez 7844495624 Merge branch 4.01 from branching point to 4.01.0+rc1
Command line used:
  svn merge --accept postpone -r 13776:14055 $REPO/version/4.01 .


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-04 15:12:37 +00:00
Alain Frisch bc05874f5d Accept changes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-08-30 14:31:27 +00:00
Alain Frisch 842f6794a9 Synchronize with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@14042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-08-28 17:10:04 +00:00
Jacques Garrigue 3831bcee99 types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14034 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-08-23 08:16:00 +00:00
Jacques Garrigue d1c176690e add unification example using GADTs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14032 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-08-21 10:01:47 +00:00
Jacques Garrigue 7a6d827026 Fix PR#6123
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14021 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-08-20 03:00:19 +00:00
Gabriel Scherer d1c0cbee50 testsuite for Digest.to_hex (patch by ygrek)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13980 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-08-05 09:43:12 +00:00
Gabriel Scherer 2c990bacc0 PR#4323: have "of_string" in Num and Big_int work with binary and hexa representations [patch by zoep]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13970 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-08-04 19:58:03 +00:00
Jacques Garrigue 1fc309687a allow spurious private in with constraint for backward compatibility, but warn
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13953 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-31 02:49:13 +00:00
Jacques Garrigue 47d094db83 Fix PR#6090
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13937 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-26 23:04:51 +00:00
Alain Frisch b0d5fc28a2 Synchronize with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13922 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-22 17:03:39 +00:00
Xavier Leroy 87b46c37bd Revert commit r13909 because of an issue with 'integr' on i386
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13912 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-19 18:49:56 +00:00
Xavier Leroy 055d5c0379 Port to the ARM 64-bits (AArch64) architecture (experimental).
Merge of branch branches/arm64.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-18 16:09:20 +00:00
Alain Frisch 525ef9d703 Synchronize with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13897 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-16 13:34:30 +00:00
Luc Maranget 32bcc186ea Patch for PR#5788
(Exception binding fools pattern matching optimisations)

Hopefully it's complete...





git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13871 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-02 16:05:48 +00:00
Damien Doligez 338c5ce867 disable test 8 and 9 in tests/lib-threads under Windows because sometimes they deadlock on exit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13848 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-28 15:25:14 +00:00
Jacques Garrigue b3f2e718b9 test results
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13846 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-28 10:45:25 +00:00
Jacques Garrigue 07b8b7dd74 Fix PR#6056
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13845 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-28 10:43:25 +00:00
Jacques Garrigue f4d0232689 fix PR#5914
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-22 07:31:37 +00:00
Gabriel Scherer 4ee1956aa2 testsuite/tests/backtrace: fix a stupid (but silenced) error in Makefile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13822 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-19 15:18:46 +00:00
Gabriel Scherer b06015bacb testsuite/tests/backtrace: new test to exercize Printexc.get_raw_backtrace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-19 14:10:27 +00:00
Gabriel Scherer 75ee032332 testsuite/tests/backtrace: no need to re-run backtrace2 which catches all exceptions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13811 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-19 14:08:26 +00:00
Gabriel Scherer 1b1c4a4d15 tweak tests/backtrace to also test ocamlopt
Note that native and byte-test share the same reference file, so in
particular they check that ocamlc and ocamlopt report uncaught
exception in the exact same way. Passing this test required a change
in asmrun/backtrace.c/print_location.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13810 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-19 14:05:10 +00:00
Jacques Garrigue 70a5d6af9f fix a variance bug in GADTs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13802 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-18 13:04:32 +00:00
Alain Frisch ba38d00535 #5980: a different warning for shadowing labels/constructors and for other kinds of identifiers. (Cherry-picked from commit 13796 on 4.01.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13797 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-18 08:01:02 +00:00
Jacques Garrigue d53e2b57b2 Make GADT inference robust to useless equations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13790 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-17 03:02:14 +00:00
Jacques Garrigue 4fb61c91e6 Fix PR#5815
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13789 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-17 02:03:36 +00:00
Xavier Leroy 94381ab774 As originally written, this test would livelock under Linux because of contention on the output lock.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13778 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-14 08:07:08 +00:00
Damien Doligez 0992949438 temporarily disable tests/lib-threads/testsocket on Windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13766 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-11 13:20:32 +00:00
Damien Doligez 7e4877a3a2 tests/exotic-syntax: adapt to new compiler check on objects
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13762 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-11 07:32:49 +00:00
Damien Doligez 26c5e49b83 allow reinstalling without removing first
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13753 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-06 15:05:36 +00:00
Alain Frisch 9e0d1579ee Non-regression test for #6032.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13751 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-06 11:45:02 +00:00
Damien Doligez e86521630c update external tests -- camlp5 still missing because the AST has changed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-03 14:06:57 +00:00
Damien Doligez 87508f1d4b tests/lib-format: fix for Windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13722 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-30 12:27:18 +00:00
Damien Doligez 32e0587115 one more fix for tests/lib-format
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-30 11:26:53 +00:00
Damien Doligez 4321fefb50 fix the tests for module Format
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 20:21:12 +00:00
Pierre Weis ef26391063 Adding a test directory for the Format module.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 16:45:46 +00:00
Pierre Weis d534ad4893 Tabify.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 16:45:07 +00:00
Damien Doligez db9ea0df59 PR#6024: Format syntax for printing @ is incompatible with 3.12.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 15:56:25 +00:00
Damien Doligez 8946ae07df testsuite/lib-threads: version of test8 that seems to work on Windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13700 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 13:04:00 +00:00
Damien Doligez c3bf54a7b6 merge changes from version/4.00 from 4.00.1 to r13697
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13699 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 12:56:54 +00:00
Damien Doligez 2c6d524259 PR#5710: add Mono support to the testsuite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 15:06:37 +00:00
Damien Doligez 9bbd8bdaec testsuite/lib-threads: still working around Windows's exit bug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13693 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 15:05:16 +00:00
Damien Doligez b1d2782b30 testsuite: still making it work without installing
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:49:42 +00:00
Damien Doligez 6283fee381 testsuite: making it work without installing OCaml (continued)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:03:58 +00:00
Alain Frisch 4f24f8ab0f #5980: only report shadowing against the environment before the 'open'.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13689 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 10:12:31 +00:00
Damien Doligez 9f55c9cbd5 testsuite/typing-warnings: update ref file with new warning introduced in r13683
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13688 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 20:04:25 +00:00
Damien Doligez 178c0d1d41 testsuite: continue making it work without installing OCaml; also make it independent of the user's .ocamlinit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 19:48:04 +00:00
Damien Doligez 98c197a63b testsuite: allow testing without installing (continued)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13686 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 15:20:48 +00:00
Damien Doligez 1a2c1ed3e2 make the testsuite work without installing OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 12:20:59 +00:00
Damien Doligez 5a1a95f5e6 tests/backtrace: harden against leftover files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13681 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 09:24:44 +00:00
Damien Doligez 13673e1189 tests/lib-threads: still porting to windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 07:44:41 +00:00
Damien Doligez 1f1f64d2d9 testsuite/lib-threads: still trying to make it work across all architectures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 15:24:52 +00:00
Damien Doligez aac1147965 trying to make a test that works on all systems
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 14:08:08 +00:00
Damien Doligez 1f06400ce4 testsuite/backtrace: fix problem on cygwin with leftover executable file
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:48:25 +00:00
Damien Doligez b2cf57f35f testsuite/lib-threads: stop all threads before exiting
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13676 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:32:29 +00:00
Damien Doligez 9dda1aa675 fixed test to test what happens when we close a file descriptor on which another thread is blocked reading
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:31:58 +00:00
Alain Frisch 1b54fa1d93 Typos.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13674 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 07:43:59 +00:00
Damien Doligez a3c303c7dd testsuite/lib-threads: stop all threads before exiting [for Windows]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 18:59:08 +00:00
Damien Doligez c2b3a61ef9 testsuite: simplification of the BYTECODE_ONLY macro
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13672 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 18:34:30 +00:00
Damien Doligez 09812d00fb testsuite/backtrace: add $(EXE) for windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 17:34:17 +00:00
Damien Doligez 0e199b5f7d testsuite: more cleanup of the makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 17:05:21 +00:00
Damien Doligez 4efee60493 testsuite: Windows (7) does not reliably stop all threads when a process calls exit(). Update thread test to avoid this problem.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 17:05:07 +00:00
Damien Doligez 200f97fef6 trying to figure out what goes wrong on the Windows test machines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13665 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-13 15:11:24 +00:00
Xavier Leroy d31eb278a3 PR#6010 continued: more tests.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13661 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-08 08:55:42 +00:00
Xavier Leroy 0f45880800 PR#6010: Big_int.extract_big_int gives wrong results on negative arguments
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-08 08:38:55 +00:00
Damien Doligez b0d7af8354 still porting testsuite to msvc64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 11:26:42 +00:00
Damien Doligez a2f17916d2 porting to MSVC64; some cleanup; ignore .obj and .lib files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 09:39:38 +00:00
Jacques Garrigue c09d328c31 More clever handling of constrained parameters:
if the same type appears at the right variance inside
parameters, no need to check its type variables


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13650 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-04 08:52:44 +00:00
Jacques Garrigue ba7fa367a1 Fix PR#6004
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13649 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-04 01:44:49 +00:00
Damien Doligez ea4b17ad1e testsuite: general cleanup of makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-03 15:52:56 +00:00
Jacques Garrigue 6ce0823710 Fix PR#6005
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13646 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-03 14:39:56 +00:00
Jacques Garrigue 67e18e5c4d Fix PR#5985 for constrained parameters too.
Required more variance information, so variance is now an abstract type.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13645 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-03 13:38:30 +00:00
Damien Doligez b8470199cc testsuite: porting to mingw64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-03 08:27:42 +00:00
Jacques Garrigue bdf9c6bae7 For -short-paths, lookup the whole environment, but avoid recomputation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13640 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-02 01:02:15 +00:00
Damien Doligez e4f810e64f last fixes to make the testsuite work under mingw
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-30 09:25:14 +00:00
Jacques Garrigue f35c7d123f Take ambiguity into account when using -short-paths option.
Namely, do not use an abbreviated form which doesn't correspond
directly to a physical definition when it might point to
several definitions, due to multiple opens.
Also be careful about not abbreviating types we are defining
in type definitions.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13635 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-30 09:05:26 +00:00
Jacques Garrigue c425ae1ce8 Fix PR#5985; compute injectivity of types but no new syntax
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13634 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-30 05:26:57 +00:00
Damien Doligez 2e20de4c4d testsuite: use the right assembler for tests/asmcomp
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13633 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 20:27:54 +00:00
Damien Doligez 146084a63e tests/utils: add quotes in Makefile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13632 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 19:16:01 +00:00
Damien Doligez 38608d81c4 testsuite: better error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13631 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 19:15:28 +00:00
Damien Doligez 03736769f1 tests/lib-threads: skip test3 on windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13629 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 18:23:28 +00:00
Damien Doligez 70e62b3804 tests/typing-poly: round a float to avoid failed tests due to different display precision
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13628 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 18:22:47 +00:00
Damien Doligez e21fb0c563 tests/lib-threads: scale back sieve.ml to avoid problems under Windows on a small machine
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13624 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 18:00:49 +00:00
Damien Doligez 010d94b4d5 testsuite: many small fixes to make it work for mingw
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 17:02:29 +00:00
Damien Doligez 87392bc090 tests/utils/Makefile: port to mingw
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 16:54:26 +00:00
Damien Doligez 8bbebbc3fe tests/makefiles/Makefile.toplevel: do not stop after a failed test
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 16:53:37 +00:00
Damien Doligez d84fb02b93 tests/lib-printf: allow for small variations in float formats
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 16:52:45 +00:00
Damien Doligez fd82bbded5 testsuite: better reporting of failed tests
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 13:01:02 +00:00
Damien Doligez baeba206af tests/callback: do not run when libunix is not configured
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13616 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 13:00:27 +00:00
Damien Doligez df62a568fa update reference file for tests/lib-printf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 12:59:43 +00:00
Damien Doligez 9cdba46317 make it work on non-unix systems
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13614 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 09:44:59 +00:00
Jacques Garrigue 35d1dde122 Improve message for warning 40
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-26 13:09:24 +00:00
Luc Maranget ebfc4e6cff Fix PR #5992
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13611 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-25 13:32:17 +00:00
Pierre Weis fbf83d27e0 Add a test for meta format %{ %}. Some corrections on (commented) expected results.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13610 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-25 09:18:26 +00:00
Jacques Garrigue b20679022a printing of anonymous type parameters after strengthening
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-24 11:02:49 +00:00
Jacques Garrigue a0b6262cf8 Fix PR#5997
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-22 23:53:24 +00:00
Jacques Garrigue 497ec43277 Fix PR#5993
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13580 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-19 08:48:25 +00:00
Jacques Garrigue 39d57e01e6 Fix PR#5989
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13578 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18 23:41:29 +00:00
Damien Doligez cead6b32bb removed backslashes inadvertently introduced by copy-paste
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13574 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18 18:10:50 +00:00