| 1 |
Goal True. |
| 2 |
idtac. |
| 3 |
Ltac foo := idtac. |
| 4 |
(* print out happens twice: |
| 5 |
foo is defined |
| 6 |
foo is defined |
| 7 |
|
| 8 |
... that's fishy. But E. Tassi tells me that it's expected since "Ltac" generates a side |
| 9 |
effect that escapes the proof. In the STM model this means the command is executed twice, |
| 10 |
once in the proof branch, and another time in the main branch *) |
| 11 |
Undo. |
| 12 |
Ltac foo := idtac. |
| 13 |
(* Before 5b39c3535f7b3383d89d7b844537244a4e7c0eca, this would print out: *) |
| 14 |
(* Anomaly: Backtrack.backto to a state with no vcs_backup. Please report. *) |
| 15 |
Abort. |