summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pretty_print_coq.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pretty_print_coq.ml b/src/pretty_print_coq.ml
index e036fe97..cce3c2d3 100644
--- a/src/pretty_print_coq.ml
+++ b/src/pretty_print_coq.ml
@@ -1444,9 +1444,9 @@ let doc_exp, doc_let =
let epp = expY exp in
match is_auto_decomposed_exist ctxt (env_of exp) ~rawbools:true (general_typ_of exp) with
| Some _ ->
- if informative then parens (epp ^^ doc_tannot ctxt (env_of exp) true (general_typ_of exp)) else
- let proj = if effectful (effect_of exp) then "projT1_m" else "projT1" in
- parens (string proj ^/^ epp)
+ if informative
+ then parens (epp ^^ doc_tannot ctxt (env_of exp) true (general_typ_of exp))
+ else parens (string "projT1_m" ^/^ epp)
| None ->
if informative then parens (string "build_trivial_ex" ^/^ epp)
else epp