summaryrefslogtreecommitdiff
path: root/typing/typeclass.mli
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2013-09-17 11:28:33 +0000
committerAlain Frisch <alain@frisch.fr>2013-09-17 11:28:33 +0000
commit9a4a94436389aebb4265b02f6abe49cb92baffab (patch)
tree86985be40d10eccf1e52e36264cf50b5461b107c /typing/typeclass.mli
parent2691cf50429e19d0edb8adbd73e16b4295791a0e (diff)
downloadocaml-9a4a94436389aebb4265b02f6abe49cb92baffab.tar.gz
#6182: better error message for virtual objects and class types.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'typing/typeclass.mli')
-rw-r--r--typing/typeclass.mli2
1 files changed, 1 insertions, 1 deletions
diff --git a/typing/typeclass.mli b/typing/typeclass.mli
index abc8633bc3..a4a360bcc5 100644
--- a/typing/typeclass.mli
+++ b/typing/typeclass.mli
@@ -88,7 +88,7 @@ type error =
| Unbound_class_type_2 of Longident.t
| Abbrev_type_clash of type_expr * type_expr * type_expr
| Constructor_type_mismatch of string * (type_expr * type_expr) list
- | Virtual_class of bool * string list * string list
+ | Virtual_class of bool * bool * string list * string list
| Parameter_arity_mismatch of Longident.t * int * int
| Parameter_mismatch of (type_expr * type_expr) list
| Bad_parameters of Ident.t * type_expr * type_expr