aboutsummaryrefslogtreecommitdiffhomepage
path: root/interp
diff options
context:
space:
mode:
Diffstat (limited to 'interp')
-rw-r--r--interp/constrextern.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/interp/constrextern.ml b/interp/constrextern.ml
index fcdd0a786..2fe967153 100644
--- a/interp/constrextern.ml
+++ b/interp/constrextern.ml
@@ -638,6 +638,8 @@ let rec extern inctx scopes vars r =
| RVar (loc,id) -> CRef (Ident (loc,id))
+ | REvar (loc,n,None) when !print_meta_as_hole -> CHole loc
+
| REvar (loc,n,_) -> (* we drop args *) extern_evar loc n
| RPatVar (loc,n) -> if !print_meta_as_hole then CHole loc else CPatVar (loc,n)