From e69382acbcc4bdd27612c9cf8ec282db71f8408d Mon Sep 17 00:00:00 2001 From: Son Ho Date: Fri, 13 Jan 2023 16:18:43 +0100 Subject: Improve the pretty names generation for loops --- tests/fstar/hashmap/Hashmap.Funs.fst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/fstar/hashmap') diff --git a/tests/fstar/hashmap/Hashmap.Funs.fst b/tests/fstar/hashmap/Hashmap.Funs.fst index 2074d02e..7137e92a 100644 --- a/tests/fstar/hashmap/Hashmap.Funs.fst +++ b/tests/fstar/hashmap/Hashmap.Funs.fst @@ -128,7 +128,7 @@ let rec hash_map_insert_in_list_loop_back else begin match hash_map_insert_in_list_loop_back t key value tl with | Fail e -> Fail e - | Return l -> Return (ListCons ckey cvalue l) + | Return tl0 -> Return (ListCons ckey cvalue tl0) end | ListNil -> let l = ListNil in Return (ListCons key value l) end @@ -413,7 +413,7 @@ let rec hash_map_get_mut_in_list_loop_back else begin match hash_map_get_mut_in_list_loop_back t tl key ret with | Fail e -> Fail e - | Return l -> Return (ListCons ckey cvalue l) + | Return tl0 -> Return (ListCons ckey cvalue tl0) end | ListNil -> Fail Failure end @@ -514,7 +514,7 @@ let rec hash_map_remove_from_list_loop_back else begin match hash_map_remove_from_list_loop_back t key tl with | Fail e -> Fail e - | Return l -> Return (ListCons ckey x l) + | Return tl0 -> Return (ListCons ckey x tl0) end | ListNil -> Return ListNil end -- cgit v1.2.3