aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-09-15 20:08:50 +0200
committerGaëtan Gilbert2018-12-19 17:02:45 +0100
commit7492a1ae8422b3f996f844ae96376c3f88d82e13 (patch)
treef0d4809ea0ea8319bf6985ec50c9f0dfda8f778b /plugins
parentb264bb65b8d985b2e5b1c5642dee317bcf8a9504 (diff)
warn when using auto template, funind never uses template poly
The warning can be avoided with the attributes, (or just disable the warning itself I guess).
Diffstat (limited to 'plugins')
-rw-r--r--plugins/funind/glob_term_to_relation.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/funind/glob_term_to_relation.ml b/plugins/funind/glob_term_to_relation.ml
index 98aaa081c3..4b6caea70d 100644
--- a/plugins/funind/glob_term_to_relation.ml
+++ b/plugins/funind/glob_term_to_relation.ml
@@ -1494,7 +1494,7 @@ let do_build_inductive
let _time2 = System.get_time () in
try
with_full_print
- (Flags.silently (ComInductive.do_mutual_inductive ~template:None None rel_inds false false false ~uniform:ComInductive.NonUniformParameters))
+ (Flags.silently (ComInductive.do_mutual_inductive ~template:(Some false) None rel_inds false false false ~uniform:ComInductive.NonUniformParameters))
Declarations.Finite
with
| UserError(s,msg) as e ->