aboutsummaryrefslogtreecommitdiff
path: root/interp/notation.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-08-07 14:04:06 +0200
committerEmilio Jesus Gallego Arias2019-08-07 14:04:06 +0200
commit0d61500c7137f93942a63a356226276c26edfd99 (patch)
treef9a9c741f31faf2ceef73c2e0ef8581593019e11 /interp/notation.ml
parent0c6d6b31ad4e52738eb6ee3f62bd8c93ecba8965 (diff)
parentfc60feb7a3ccd9ec88f6c46929f5fa8172bd7885 (diff)
Merge PR #10604: Simplify Lib section handling
Reviewed-by: ejgallego Reviewed-by: herbelin
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 d88182241b..a78bc60e83 100644
--- a/interp/notation.ml
+++ b/interp/notation.ml
@@ -1533,7 +1533,7 @@ let discharge_arguments_scope (_,(req,r,n,l,_)) =
let n =
try
let vars = Lib.variable_section_segment_of_reference r in
- vars |> List.map fst |> List.filter is_local_assum |> List.length
+ vars |> List.filter is_local_assum |> List.length
with
Not_found (* Not a ref defined in this section *) -> 0 in
Some (req,r,n,l,[])