summaryrefslogtreecommitdiffstats
path: root/driver/errors.ml
diff options
context:
space:
mode:
Diffstat (limited to 'driver/errors.ml')
-rw-r--r--driver/errors.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/errors.ml b/driver/errors.ml
index 05692afc3..25cb975ac 100644
--- a/driver/errors.ml
+++ b/driver/errors.ml
@@ -29,6 +29,8 @@ let report_error exn =
Syntaxerr.report_error err
| Env.Error err ->
Env.report_error err
+ | Ctype.Tags(l, l') ->
+ printf "In this program,@ variant constructors@ `%s and `%s@ have same hash value." l l'
| Typecore.Error(loc, err) ->
Location.print loc; Typecore.report_error err
| Typetexp.Error(loc, err) ->