aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2021-03-12 18:30:09 +0100
committerPierre-Marie Pédrot2021-03-12 19:16:55 +0100
commit5645beeab5801e86704c97b2cc8687b01c14acb8 (patch)
tree463779950b4af4933e1c99f43eb4504f707c06a2 /kernel
parent50654a3c660b9e39f7e9d2426b0b53afc48138c5 (diff)
Move the responsibility of type-checking to the caller for tactic-in-terms.
Instead of taking a type and checking that the inferred type for the expression is correct, we simply pick an optional constraint and return the type directly in the callback. This prevents having to compute type conversion twice in the special case of Ltac2 variable quotations. This should be 1:1 equivalent to the previous code, we are just moving code around.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions