diff options
Diffstat (limited to 'pretyping/evarutil.ml')
| -rw-r--r-- | pretyping/evarutil.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pretyping/evarutil.ml b/pretyping/evarutil.ml index af42d3cd46..53bcbc8ce5 100644 --- a/pretyping/evarutil.ml +++ b/pretyping/evarutil.ml @@ -167,8 +167,8 @@ let restrict_hyps isevars c = c let has_ise sigma t = - try let _ = whd_ise sigma t in true - with UserError _ -> false + try let _ = whd_ise sigma t in false + with Uninstantiated_evar _ -> true (* We try to instanciate the evar assuming the body won't depend * on arguments that are not Rels or VARs, or appearing several times. |
