From 5c1d2472850feef3dccc73de2e57f8f3416486a6 Mon Sep 17 00:00:00 2001
From: Ralf Jung <jung@mpi-sws.org>
Date: Tue, 6 Dec 2016 16:49:41 +0100
Subject: [PATCH] fix compatibility with latest Coq 8.6

---
 theories/gmultiset.v | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/theories/gmultiset.v b/theories/gmultiset.v
index 27db25b3..2c9f8535 100644
--- a/theories/gmultiset.v
+++ b/theories/gmultiset.v
@@ -178,7 +178,7 @@ Proof.
   destruct X as [X], Y as [Y]; unfold elements, gmultiset_elements.
   set (f xn := let '(x, n) := xn in replicate (S n) x); simpl.
   revert Y; induction X as [|x n X HX IH] using map_ind; intros Y.
-  { by rewrite (left_id_L _ _), map_to_list_empty. }
+  { by rewrite (left_id_L _ _ Y), map_to_list_empty. }
   destruct (Y !! x) as [n'|] eqn:HY.
   - rewrite <-(insert_id Y x n'), <-(insert_delete Y) by done.
     erewrite <-insert_union_with by done.
-- 
GitLab