From b4561c5047eb2383c2b718fd1cf9da8076497511 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 4 Mar 2019 15:17:34 +0100 Subject: [evarconv] solve_simple_eqn is weaker than miller pattern (fix #9663) In particular evar_eqappr_x tries to find a miller pattern on both sides, while the fast path for evars tries solve_simple_eqn in one direction only. So if you have (Evar-not-miller = Evar-miller) the code was not trying to solve the RHS. --- test-suite/bugs/closed/bug_9663.v | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test-suite/bugs/closed/bug_9663.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/bug_9663.v b/test-suite/bugs/closed/bug_9663.v new file mode 100644 index 0000000000..b5fa601278 --- /dev/null +++ b/test-suite/bugs/closed/bug_9663.v @@ -0,0 +1,2 @@ +Definition id_depfn S T (f : forall x : S, T x) := f. +Definition idn : nat -> nat := @id_depfn _ _ (fun x => x). -- cgit v1.2.3