diff options
author | 2017-01-24 13:07:11 +0100 | |
---|---|---|
committer | 2017-02-14 17:30:44 +0100 | |
commit | 5db9588098f9f02d923c21f3914e3c671b10728f (patch) | |
tree | 7e19fc592e6fc80f8bc5f849d23faa6a4dee4d09 /engine/eConstr.ml | |
parent | aaf75678a13d9c26341e762ab8e56b957cf4c771 (diff) |
Quick hack to fix interpretation of patterns in Ltac.
Interpretation of patterns in Ltac is essentially flawed. It does a roundtrip
through the pretyper, and relies on suspicious flagging of evars in the evar source
field to recognize original pattern holes. After the pattern_of_constr function
was made evar-insensitive, it expanded evars that were solved by magical side-effects
of the pretyper, even if it hadn't been asked to perform any heuristics.
We backtrack on the insensitivity of the pattern_of_constr function. This may have
a performance penalty in other dubious code, e.g. hints. In the long run we should
get rid of the pattern_of_constr function.
Diffstat (limited to 'engine/eConstr.ml')
0 files changed, 0 insertions, 0 deletions