diff options
| author | Gaëtan Gilbert | 2020-02-06 15:55:29 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2020-02-06 21:17:56 +0100 |
| commit | 276aa928c9b3c2337aebf21383e18f145735426b (patch) | |
| tree | 6dfc4404d543d5b532b503089f1369b074a005fb | |
| parent | a9e4f78935ba091d7e012df8398bccc5d08d1370 (diff) | |
unsafe_type_of -> get_type_of in Tactics.is_functional_induction
| -rw-r--r-- | tactics/tactics.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml index 14d8e4fccd..6ed6e49b7e 100644 --- a/tactics/tactics.ml +++ b/tactics/tactics.ml @@ -4274,7 +4274,7 @@ let get_elim_signature elim hyp0 gl = let is_functional_induction elimc gl = let sigma = Tacmach.New.project gl in - let scheme = compute_elim_sig sigma ~elimc (Tacmach.New.pf_unsafe_type_of gl (fst elimc)) in + let scheme = compute_elim_sig sigma ~elimc (Tacmach.New.pf_get_type_of gl (fst elimc)) in (* The test is not safe: with non-functional induction on non-standard induction scheme, this may fail *) Option.is_empty scheme.indarg |
