diff options
author | Matthieu Sozeau <mattam@mattam.org> | 2016-05-23 18:02:08 +0200 |
---|---|---|
committer | Matthieu Sozeau <mattam@mattam.org> | 2016-05-23 18:20:32 +0200 |
commit | 265be83a546b0bec6d01f6650f7489442293cb0e (patch) | |
tree | 86878969836c43d570b2ba4f307b229c60d60935 /tools/compat5.ml | |
parent | bf1a1070d6cd111385baf59569feea2e0db3eb7c (diff) |
Hints/Univs: fix bug #4628 anomalies
Fix handling of non-polymorphic hints built from polymorphic values, or
simply producing new universes. We have to record the side effects of
global hints built from constrs which are not polymorphic when they
declare global universes, which might need to be discharged at the end
of sections too. Also issue a warning when a Hint is declared for a
polymorphic reference but the Hint isn't polymorphic itself (this used
to produce an anomaly). For [using] hints, treat all lemmas as
polymorphic, refreshing their universes at each use, as is done for
their existentials (also used to produce an anomaly).
Diffstat (limited to 'tools/compat5.ml')
0 files changed, 0 insertions, 0 deletions