summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2012-07-21 01:18:36 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2012-07-21 01:18:36 +0000
commit8f165f2c300442bf643df19b404901b470e46b63 (patch)
treeaf6bce6dac0d90575ec57a74e7ef159618faad49
parentd94c59240fca7e5b0d7385008e29c3256ca96bca (diff)
forgot to promote
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12754 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--testsuite/tests/typing-sigsubst/sigsubst.ml.reference4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/typing-sigsubst/sigsubst.ml.reference b/testsuite/tests/typing-sigsubst/sigsubst.ml.reference
index 3adcb82a9..5a160347b 100644
--- a/testsuite/tests/typing-sigsubst/sigsubst.ml.reference
+++ b/testsuite/tests/typing-sigsubst/sigsubst.ml.reference
@@ -33,4 +33,8 @@ Error: Multiple definition of the type name t.
sig module T : sig type exp type arg end val f : T.exp -> T.arg end
# module M : sig type exp = string type arg = int end
# module type S' = sig val f : M.exp -> M.arg end
+# Characters 41-58:
+ module type S = sig type 'a t end with type 'a t := unit;; (* Fails *)
+ ^^^^^^^^^^^^^^^^^
+Error: Only type constructors with identical parameters can be substituted.
#