diff options
| author | Arnaud Spiwack | 2015-09-25 09:27:50 +0200 |
|---|---|---|
| committer | Arnaud Spiwack | 2015-09-25 10:41:41 +0200 |
| commit | 9f4e67a7c9f22ca853e76f4837a276a6111bf159 (patch) | |
| tree | 4182e452507cf90835b448a4f8f07cf1b4685acb /kernel | |
| parent | e8bad8abc7be351a34fdf9770409bbab14bcd6a9 (diff) | |
Prevent pretyping from checking well-guardedness unnecessarily.
The `search_guard` function is called to infer the recursive argument of fixpoints. For each potential argument, it tests whether it is called structurally, calling the kernel test. When a single argument is available either because `{struct x}` was specified, or because there is a single inductive argument, the kernel test is performed, despite the fact that the kernel will do it later, and the kernel error reraised. It is unnecessary.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
