diff options
author | Jason Gross <jgross@mit.edu> | 2017-05-31 00:49:36 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-06-02 20:04:34 -0400 |
commit | 42d510ceea82d617ac4e630049d690acbe900688 (patch) | |
tree | d68ae2fa7b0815c3d5164b2410e534befbe48039 /pretyping/evarconv.ml | |
parent | a2a98a4015311af83edcf8fc87aa30a5318bead8 (diff) |
Don't double up on periods in anomalies
We don't want "Anomaly: Returned a functional value in a type not
recognized as a product type.. Please report at
http://coq.inria.fr/bugs/." but instead "Anomaly: Returned a functional
value in a type not recognized as a product type. Please report at
http://coq.inria.fr/bugs/."
Diffstat (limited to 'pretyping/evarconv.ml')
-rw-r--r-- | pretyping/evarconv.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/evarconv.ml b/pretyping/evarconv.ml index 630f80ad2..e2106dab5 100644 --- a/pretyping/evarconv.ml +++ b/pretyping/evarconv.ml @@ -605,7 +605,7 @@ and evar_eqappr_x ?(rhs_is_already_stuck = false) ts env evd pbty postpone to see if other equations help, as in: [Check fun a b c : unit => (eqᵣefl : _ a b = _ c a b)] *) UnifFailure (i,NotSameArgSize) - | _, _ -> anomaly (Pp.str "Unexpected result from ise_stack2.") + | _, _ -> anomaly (Pp.str "Unexpected result from ise_stack2") and f2 i = if Evar.equal sp1 sp2 then |