diff options
| author | Emilio Jesus Gallego Arias | 2019-08-07 14:04:06 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-08-07 14:04:06 +0200 |
| commit | 0d61500c7137f93942a63a356226276c26edfd99 (patch) | |
| tree | f9a9c741f31faf2ceef73c2e0ef8581593019e11 /interp/notation.ml | |
| parent | 0c6d6b31ad4e52738eb6ee3f62bd8c93ecba8965 (diff) | |
| parent | fc60feb7a3ccd9ec88f6c46929f5fa8172bd7885 (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.ml | 2 |
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,[]) |
