aboutsummaryrefslogtreecommitdiff
path: root/plugins/ltac
diff options
context:
space:
mode:
authorAndreas Lynge2019-05-21 20:37:42 +0200
committerAndreas Lynge2019-06-06 21:37:27 +0200
commit416cccb2b0c7db284130723ef1c2f3851b995ae9 (patch)
treefcb02390b8e5828323089b3fe57e6487ce71e0cd /plugins/ltac
parent11b8b33f1d7d7fe3f29c83745cc2c06b121a3fb0 (diff)
Make discriminate tactic compatible with HoTT
Diffstat (limited to 'plugins/ltac')
-rw-r--r--plugins/ltac/rewrite.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ltac/rewrite.ml b/plugins/ltac/rewrite.ml
index 5db8f999e5..775d3969db 100644
--- a/plugins/ltac/rewrite.ml
+++ b/plugins/ltac/rewrite.ml
@@ -947,9 +947,9 @@ let fold_match ?(force=false) env sigma c =
if dep then case_dep_scheme_kind_from_prop
else case_scheme_kind_from_prop
else (
- if dep
- then case_dep_scheme_kind_from_type_in_prop
- else case_scheme_kind_from_type)
+ if dep
+ then case_dep_scheme_kind_from_type_in_prop
+ else case_scheme_kind_from_type)
else ((* sortc <> InProp by typing *)
if dep
then case_dep_scheme_kind_from_type