diff options
author | Son Ho | 2023-12-23 01:18:37 +0100 |
---|---|---|
committer | Son Ho | 2023-12-23 01:18:37 +0100 |
commit | a52939b5119e2751570582533bf27828724c2e9f (patch) | |
tree | 3a5383e4ce7e0362bc6583401ac751ac9223a9c8 /tests/coq/misc | |
parent | a4decc7654bc6f3301c0174124d21fdbc2dbc708 (diff) |
Fix an issue when deconstructing tuples in Coq
Diffstat (limited to 'tests/coq/misc')
-rw-r--r-- | tests/coq/misc/Loops.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coq/misc/Loops.v b/tests/coq/misc/Loops.v index cc76f359..af920d41 100644 --- a/tests/coq/misc/Loops.v +++ b/tests/coq/misc/Loops.v @@ -358,7 +358,7 @@ Fixpoint list_nth_mut_loop_pair_loop else ( i1 <- u32_sub i 1%u32; t <- list_nth_mut_loop_pair_loop T n1 tl0 tl1 i1; - let (p, back_'a, back_'b) := t in + let '(p, back_'a, back_'b) := t in let back_'a1 := fun (ret : T) => tl01 <- back_'a ret; Return (List_Cons x0 tl01) in let back_'b1 := @@ -378,7 +378,7 @@ Definition list_nth_mut_loop_pair result ((T * T) * (T -> result (List_t T)) * (T -> result (List_t T))) := t <- list_nth_mut_loop_pair_loop T n ls0 ls1 i; - let (p, back_'a, back_'b) := t in + let '(p, back_'a, back_'b) := t in Return (p, back_'a, back_'b) . |