aboutsummaryrefslogtreecommitdiff
path: root/src/Reflection/TypeInversion.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-02-13 15:45:29 -0500
committerGravatar Jason Gross <jgross@mit.edu>2017-02-13 15:45:29 -0500
commit3b27d17d1805a3a52a9f320c69202bfd47bb68b4 (patch)
treeb1b7f5b9c794e63f1c16e63ab8255dccacc796a8 /src/Reflection/TypeInversion.v
parent589517437b4647ed688f73591f646bc931f24b4b (diff)
Better cleanup in type_inversion
Diffstat (limited to 'src/Reflection/TypeInversion.v')
-rw-r--r--src/Reflection/TypeInversion.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Reflection/TypeInversion.v b/src/Reflection/TypeInversion.v
index 30a1ef472..988eae375 100644
--- a/src/Reflection/TypeInversion.v
+++ b/src/Reflection/TypeInversion.v
@@ -170,8 +170,7 @@ Ltac induction_type_in_using H rect :=
let H2 := fresh H in
try lazymatch type of H with
| False => exfalso; exact H
- | ?x = ?x => clear H
- | _ = Unit => exfalso; clear -H; solve [ inversion H ]
+ | True => destruct H
| _ /\ _ => destruct H as [H1 H2]
end.
Ltac inversion_type_step :=