diff options
| author | Pierre Courtieu | 2015-10-21 10:59:36 +0200 |
|---|---|---|
| committer | Pierre Courtieu | 2015-10-21 11:00:10 +0200 |
| commit | ae7e8f8f66359a46e165e1eae6cf15eb09fd66de (patch) | |
| tree | b5cd5aaee93ecac5854d6a201d741643370237f1 /kernel/indtypes.ml | |
| parent | a1b828d31c73d3342345243e9fb4af69610616a0 (diff) | |
Fixed (and changed) infoH.
The detection of new hypothesis was bugged.
Now infoH behaves like "Show Intros": it performs tac, grab
information on hypothesis names but let the state unchanged.
FTR: infoH is fundamentally unable to be correct in presence of
tactics that delete hypothesis and reuse there names. Like destruct or
induction. Fortunately destruct and induction now come with a variant
asking that the hypothesis is not deleted. To guess for the right
as-close for [induction H], do [infoH induction !H]. This will not
create the same names as induction would have by itself but at least
there will be the right number of hypothesis.
Diffstat (limited to 'kernel/indtypes.ml')
0 files changed, 0 insertions, 0 deletions
