aboutsummaryrefslogtreecommitdiff
path: root/dev/base_include
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2014-11-20 21:07:24 +0100
committerPierre-Marie Pédrot2014-11-20 21:12:32 +0100
commit9295b3dbacd124dde8cf53479822a1b3bbe4d967 (patch)
tree8c5cd6f78824b6c104117df03a452bdadd0d9d82 /dev/base_include
parent7bbbb3f354a71e7416f3c9ebbd351e192d54e63e (diff)
Somehow fixing a side-effect bug in tactics-in-terms.
Before this patch, when tactics-in-terms were relying on the ugly environment- modifying primitives such as tclABSTRACT, the returned term was ill-typed because the resulting effects were just dropped. Now we modify the returned term on the fly, effectively getting rid of the effects it may depend on. Yet, this is not completely satisfactory, because the tactic may solve some goals at distance (I would have said by side-effect, but this is ambiguous here). If ever the resulting terms are depending on the side-effects of the tactic, then we are still unsound. This patch should handle most of the use-cases gracefully. To really solve this issue, we should rewrite the pretyper in the new monad, which is easier said than done.
Diffstat (limited to 'dev/base_include')
0 files changed, 0 insertions, 0 deletions