diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/subtac/subtac_command.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/subtac/subtac_command.ml b/plugins/subtac/subtac_command.ml index a408d44ca4..eb135139c4 100644 --- a/plugins/subtac/subtac_command.ml +++ b/plugins/subtac/subtac_command.ml @@ -404,7 +404,10 @@ let interp_recursive fixkind l boxed = let rec_sign = List.fold_left2 (fun env' id t -> let sort = Retyping.get_type_of env !evdref t in - let fixprot = mkApp (Lazy.force Subtac_utils.fix_proto, [|sort; t|]) in + let fixprot = + try mkApp (Lazy.force Subtac_utils.fix_proto, [|sort; t|]) + with e -> t + in (id,None,fixprot) :: env') [] fixnames fixtypes in |
