aboutsummaryrefslogtreecommitdiff
path: root/kernel/type_errors.mli
diff options
context:
space:
mode:
authorArnaud Spiwack2014-02-25 13:33:58 +0100
committerArnaud Spiwack2014-02-25 17:16:56 +0100
commitce9adc468df630e0fa1a0888fcff1fafc5b183ed (patch)
treedf7e5c99d80ffe540f3f87840a7c2231a7ca7105 /kernel/type_errors.mli
parentb8f2df148d4c6ef4c2242a37a6287a93f2aa36c0 (diff)
Tacinterp: fewer Proofview.Goal.enterl.
I'm trying to avoid unecessary construction of intermediate lists. Interpretation function don't modify the goals, they just need a goal in their context. Some care has to be given to the evar maps, though, as we can extract an outdated evar map from a goal (this is probably an undesirable feature, but significantly simplified the compatibility API). Also, Proofview.Goal.enter{,l} catch exceptions (and transfer the non-critical ones into errors of the tactics monad). So I had to do just that for every "enter" removed (I probably have been overprotective but it's better that way). Not as trivial a modification as it should, but it will hopefully go over well. It was much needed anyway.
Diffstat (limited to 'kernel/type_errors.mli')
0 files changed, 0 insertions, 0 deletions