aboutsummaryrefslogtreecommitdiff
path: root/interp/constrextern.ml
diff options
context:
space:
mode:
Diffstat (limited to 'interp/constrextern.ml')
-rw-r--r--interp/constrextern.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/interp/constrextern.ml b/interp/constrextern.ml
index 9bcae183fa..eeb96467c3 100644
--- a/interp/constrextern.ml
+++ b/interp/constrextern.ml
@@ -803,7 +803,7 @@ and sub_extern inctx (_,scopes) = extern inctx (None,scopes)
and factorize_prod scopes vars aty c =
try
if !Flags.raw_print or !print_no_symbol then raise No_match;
- ([],extern_symbol scopes vars c (uninterp_notations c))
+ ([],extern_symbol (Some Notation.type_scope,snd scopes) vars c (uninterp_notations c))
with No_match -> match c with
| GProd (loc,(Name id as na),bk,ty,c)
when same aty (extern_typ scopes vars (anonymize_if_reserved na ty))
@@ -815,7 +815,7 @@ and factorize_prod scopes vars aty c =
and factorize_lambda inctx scopes vars aty c =
try
if !Flags.raw_print or !print_no_symbol then raise No_match;
- ([],extern_symbol scopes vars c (uninterp_notations c))
+ ([],extern_symbol (None,snd scopes) vars c (uninterp_notations c))
with No_match -> match c with
| GLambda (loc,na,bk,ty,c)
when same aty (extern_typ scopes vars (anonymize_if_reserved na ty))