aboutsummaryrefslogtreecommitdiff
path: root/kernel/indtypes.ml
diff options
context:
space:
mode:
authorPierre Courtieu2015-10-21 10:59:36 +0200
committerPierre Courtieu2015-10-21 11:00:10 +0200
commitae7e8f8f66359a46e165e1eae6cf15eb09fd66de (patch)
treeb5cd5aaee93ecac5854d6a201d741643370237f1 /kernel/indtypes.ml
parenta1b828d31c73d3342345243e9fb4af69610616a0 (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