aboutsummaryrefslogtreecommitdiff
path: root/ide
diff options
context:
space:
mode:
Diffstat (limited to 'ide')
-rw-r--r--ide/dune3
-rw-r--r--ide/idetop.ml2
2 files changed, 4 insertions, 1 deletions
diff --git a/ide/dune b/ide/dune
index 7200915593..12bad7ebc4 100644
--- a/ide/dune
+++ b/ide/dune
@@ -21,6 +21,7 @@
(package coqide-server)
(modules idetop)
(libraries coq.toplevel coqide-server.protocol)
+ (modes native byte)
(link_flags -linkall))
(install
@@ -45,7 +46,9 @@
(name coqide_main)
(public_name coqide)
(package coqide)
+ (optional)
(modules coqide_main)
+ (modes exe byte)
(libraries coqide_gui))
; Input-method bindings
diff --git a/ide/idetop.ml b/ide/idetop.ml
index 7e55eb4d13..7d92cff365 100644
--- a/ide/idetop.ml
+++ b/ide/idetop.ml
@@ -196,7 +196,7 @@ let process_goal sigma g =
let min_env = Environ.reset_context env in
let id = Goal.uid g in
let ccl =
- pr_goal_concl_style_env env sigma (Goal.V82.concl sigma g)
+ pr_letype_env ~goal_concl_style:true env sigma (Goal.V82.concl sigma g)
in
let process_hyp d (env,l) =
let d' = CompactedDecl.to_named_context d in