Skip to content

Commit

Permalink
Adapt w.r.t. coq/coq#18312.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedrot committed Nov 15, 2023
1 parent 907bed4 commit a1aa8fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion language-server/language/hover.ml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ let pr_args args more_implicits mods =

let implicit_kind_of_status = function
| None -> Anonymous, Glob_term.Explicit
| Some ((na,_,_),_,(maximal,_)) -> na, if maximal then Glob_term.MaxImplicit else Glob_term.NonMaxImplicit
| Some imp ->
let (na, _, _) = imp.Impargs.impl_pos in
na, if imp.Impargs.impl_max then Glob_term.MaxImplicit else Glob_term.NonMaxImplicit

let extra_implicit_kind_of_status imp =
let _,imp = implicit_kind_of_status imp in
Expand Down

0 comments on commit a1aa8fe

Please sign in to comment.