diff options
-rw-r--r-- | ltac/tacinterp.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ltac/tacinterp.ml b/ltac/tacinterp.ml index b742bb328..0c9d7ff80 100644 --- a/ltac/tacinterp.ml +++ b/ltac/tacinterp.ml @@ -151,7 +151,7 @@ module Value = struct let pr_v = Pptactic.pr_value Pptactic.ltop v in let Val.Dyn (tag, _) = v in let tag = Val.pr tag in - errorlabstrm "" (str "Type error: value " ++ pr_v ++ str "is a " ++ tag + errorlabstrm "" (str "Type error: value " ++ pr_v ++ str " is a " ++ tag ++ str " while type " ++ Genarg.pr_argument_type (unquote (rawwit wit)) ++ str " was expected.") let prj : type a. a Val.tag -> Val.t -> a option = fun t v -> |