diff options
| author | Pierre-Marie Pédrot | 2020-06-23 12:49:46 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-08-19 14:06:31 +0200 |
| commit | a9541e2ee557c04c4bc3476a36a87bc7fcdb06bb (patch) | |
| tree | 16c10a730c821760a14964f044f9ef82d31dee53 /tactics/auto.ml | |
| parent | 7a051f36343406cf6dece2a0d3352e9039ea2e2c (diff) | |
Ensure statically that Hint Extern comes with a pattern.
Diffstat (limited to 'tactics/auto.ml')
| -rw-r--r-- | tactics/auto.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml index 0931c3e61e..488bcb5208 100644 --- a/tactics/auto.ml +++ b/tactics/auto.ml @@ -369,8 +369,7 @@ and tac_of_hint dbg db_list local_db concl (flags, h) = let info = Exninfo.reify () in Tacticals.New.tclFAIL ~info 0 (str"Unbound reference") end - | Extern tacast -> - let p = FullHint.pattern h in + | Extern (p, tacast) -> conclPattern concl p tacast in let pr_hint env sigma = |
