aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parsing/prettyp.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/prettyp.ml b/parsing/prettyp.ml
index 9beba9347c..e92db84fe4 100644
--- a/parsing/prettyp.ml
+++ b/parsing/prettyp.ml
@@ -326,7 +326,7 @@ let get_fields =
| LetIn (na,b,_,c) ->
let id = match na with Name id -> id | Anonymous -> id_of_string "_" in
prodec_rec ((id,false,substl subst b)::l) (mkVar id::subst) c
- | _ -> l
+ | _ -> List.rev l
in
prodec_rec [] []