diff options
author | 2017-07-12 15:55:51 +0200 | |
---|---|---|
committer | 2017-07-13 15:14:45 +0200 | |
commit | 469a9b3242891b089b4a211e96b5b568277f7fc0 (patch) | |
tree | bd6854ea387f33192bf3d44c6d729e5d23471f49 /tactics | |
parent | 34bcd562cc9c8e5e6b0f3b79a15b9c55dd98813e (diff) |
Remove the function Global.type_of_global_unsafe.
Diffstat (limited to 'tactics')
-rw-r--r-- | tactics/hints.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/hints.ml b/tactics/hints.ml index c2c80e630..a572508d4 100644 --- a/tactics/hints.ml +++ b/tactics/hints.ml @@ -937,7 +937,7 @@ let make_extern pri pat tacast = let make_mode ref m = let open Term in - let ty = Global.type_of_global_unsafe ref in + let ty, _ = Global.type_of_global_in_context (Global.env ()) ref in let ctx, t = decompose_prod ty in let n = List.length ctx in let m' = Array.of_list m in |