aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/5434.v
Commit message (Collapse)AuthorAge
* Addressing #5434 (ltac pattern-matching refusing to match anonymous variables).Gravatar Hugo Herbelin2017-06-18
Ltac pattern-matching was requiring dependent variables to be named. This "natural" expectation is however not guaranteed by unification: an evar can be dependent on an anonymous variable, resulting in elaborated terms with dependent anonymous variables (see example in file 5434.v). This commit "fixes" the problem by not requiring that dependent variables are named in ltac pattern-matching. Ltac pattern-matching names itself these anonymous dependent variables, using the same strategy as the printer (i.e. using "H" to display such internally-anonymous dependent variables).