aboutsummaryrefslogtreecommitdiff
path: root/interp/notation.ml
diff options
context:
space:
mode:
Diffstat (limited to 'interp/notation.ml')
-rw-r--r--interp/notation.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/notation.ml b/interp/notation.ml
index 5fa6346f03..737687adc3 100644
--- a/interp/notation.ml
+++ b/interp/notation.ml
@@ -558,7 +558,7 @@ let scope_class_compare sc1 sc2 = match sc1, sc2 with
let scope_class_of_reference x = ScopeRef x
let compute_scope_class t =
- let t', _ = Reductionops.whd_betaiotazeta_stack Evd.empty t in
+ let t', _ = decompose_appvect (Reductionops.whd_betaiotazeta Evd.empty t) in
match kind_of_term t' with
| Var _ | Const _ | Ind _ -> ScopeRef (global_of_constr t')
| Sort _ -> ScopeSort