aboutsummaryrefslogtreecommitdiff
path: root/pretyping/detyping.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/detyping.ml')
-rw-r--r--pretyping/detyping.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/pretyping/detyping.ml b/pretyping/detyping.ml
index 880605313a..9dc25a0b56 100644
--- a/pretyping/detyping.ml
+++ b/pretyping/detyping.ml
@@ -224,7 +224,8 @@ let detype_case computable detype detype_eqn testdep
let consnargs = Array.init (Array.length mip.mind_consnames) get_consnarg in
let consnargsl = Array.map List.length consnargs in
let alias, aliastyp, newpred, pred =
- if (not !Options.raw_print) & synth_type & computable & bl <> [||] then
+ if (not !Options.raw_print) & synth_type & computable & Array.length bl<>0
+ then
Anonymous, None, None, None
else
let p = option_app detype p in