diff options
| author | Emilio Jesus Gallego Arias | 2020-06-26 14:58:32 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2020-07-09 19:39:47 +0200 |
| commit | 619533e81b7396ff9384d603e9d5f431a955578e (patch) | |
| tree | 4c86b993bdffe5c6d47b560ebca2d862f78807fe /pretyping/reductionops.ml | |
| parent | 20f55b720be8018cdf9690d60e4ed05d9c8ad5c3 (diff) | |
[reductionops] Comment about absorption of anomalies.
Co-authored-by: <Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>
Diffstat (limited to 'pretyping/reductionops.ml')
| -rw-r--r-- | pretyping/reductionops.ml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pretyping/reductionops.ml b/pretyping/reductionops.ml index cb6e8f086e..2454f24f25 100644 --- a/pretyping/reductionops.ml +++ b/pretyping/reductionops.ml @@ -1097,6 +1097,14 @@ let pb_equal = function | Reduction.CUMUL -> Reduction.CONV | Reduction.CONV -> Reduction.CONV +(* NOTE: We absorb anomalies happening in the conversion tactic, which + is a bit ugly. This is mostly due to efficiency both in tactics and + in the conversion machinery itself. It is not uncommon for a tactic + to send some ill-typed term to the engine. + + We would usually say that a tactic that converts ill-typed terms is + buggy, but fixing the tactic could have a very large runtime cost + *) exception AnomalyInConversion of exn let _ = CErrors.register_handler (function |
