diff options
| author | Emilio Jesus Gallego Arias | 2017-05-16 18:54:14 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2017-05-17 17:04:02 +0200 |
| commit | e6883abb10bd394f3066e6883e563e3bab79fea2 (patch) | |
| tree | 1c21e22f15e6cd77cb243b62e3c155494bc46d79 /doc/RecTutorial | |
| parent | 9f8220164703aee47c6c6d7dba07caabf7555c1c (diff) | |
[toplevel] Restore 8.6 goal printing behavior.
When porting the toplevel to the STM, the logic for goal printing was
simplified too much under optimistic assumptions. The idea was not to
rely on the `vernac_classifier` which is an internal and complicated
beast.
However, it seems there are many cases to consider other than
`is_query`, so at the risk of reimplementing the classifier we revert
to the old approach of using the full classification.
This gives maximum 8.6 compatibility, with the pitfall of having to
call the classifier. Indeed, due to the dynamic nature of the "undo
classifier", we cannot call it after `Stm.add`, as the document tree
will be not the right one, making the classification of undo commands
incorrect (actually raising an error "Cannot undo").
Diffstat (limited to 'doc/RecTutorial')
0 files changed, 0 insertions, 0 deletions
