diff options
| author | Maxime Dénès | 2015-10-16 15:34:46 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2015-10-16 15:34:46 +0200 |
| commit | f93b5d45ed95816cb23ce2646437bb5037a17f72 (patch) | |
| tree | e38ecd02addffe86cf05996c651fdd55034b7aaa /tactics | |
| parent | 8cb3a606f7c72c32298fe028c9f98e44ea0d378b (diff) | |
| parent | d1ce79ce293c9b77f2c6a9d0b9a8b4f84ea617e5 (diff) | |
Merge branch 'v8.5' into trunk
Diffstat (limited to 'tactics')
| -rw-r--r-- | tactics/hints.ml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tactics/hints.ml b/tactics/hints.ml index 96c7d79ca5..2755ed9cb0 100644 --- a/tactics/hints.ml +++ b/tactics/hints.ml @@ -458,7 +458,9 @@ module Hint_db = struct else List.exists (matches_mode args) modes let merge_entry db nopat pat = - let h = Sort.merge pri_order (List.map snd db.hintdb_nopat @ nopat) pat in + let h = List.sort pri_order_int (List.map snd db.hintdb_nopat) in + let h = List.merge pri_order_int h nopat in + let h = List.merge pri_order_int h pat in List.map realize_tac h let map_none db = @@ -562,7 +564,9 @@ module Hint_db = struct let remove_one gr db = remove_list [gr] db - let get_entry se = List.map realize_tac (se.sentry_nopat @ se.sentry_pat) + let get_entry se = + let h = List.merge pri_order_int se.sentry_nopat se.sentry_pat in + List.map realize_tac h let iter f db = let iter_se k se = f (Some k) se.sentry_mode (get_entry se) in |
