aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/4628.v
Commit message (Collapse)AuthorAge
* Hints/Univs: fix bug #4628 anomaliesGravatar Matthieu Sozeau2016-05-23
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).