File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -988,6 +988,10 @@ let check_one_fix renv recpos trees def =
988
988
| (Ind _ | Construct _ ) ->
989
989
List. iter (check_rec_call renv [] ) l
990
990
991
+ | Proj (p , c ) ->
992
+ List. iter (check_rec_call renv [] ) l;
993
+ check_rec_call renv [] c
994
+
991
995
| Var _ -> anomaly (Pp. str " Section variable in Coqchk !" )
992
996
993
997
| Sort _ -> assert (l = [] )
@@ -997,8 +1001,6 @@ let check_one_fix renv recpos trees def =
997
1001
998
1002
| (App _ | LetIn _ | Cast _ ) -> assert false (* beta zeta reduction *)
999
1003
1000
- | Proj (p , c ) -> check_rec_call renv [] c
1001
-
1002
1004
and check_nested_fix_body renv decr recArgsDecrArg body =
1003
1005
if decr = 0 then
1004
1006
check_rec_call (assign_var_spec renv (1 ,recArgsDecrArg)) [] body
Original file line number Diff line number Diff line change @@ -1010,6 +1010,10 @@ let check_one_fix renv recpos trees def =
1010
1010
| (Ind _ | Construct _ ) ->
1011
1011
List. iter (check_rec_call renv [] ) l
1012
1012
1013
+ | Proj (p , c ) ->
1014
+ List. iter (check_rec_call renv [] ) l;
1015
+ check_rec_call renv [] c
1016
+
1013
1017
| Var id ->
1014
1018
begin
1015
1019
match pi2 (lookup_named id renv.env) with
@@ -1028,8 +1032,6 @@ let check_one_fix renv recpos trees def =
1028
1032
| (Evar _ | Meta _ ) -> ()
1029
1033
1030
1034
| (App _ | LetIn _ | Cast _ ) -> assert false (* beta zeta reduction *)
1031
-
1032
- | Proj (p , c ) -> check_rec_call renv [] c
1033
1035
1034
1036
and check_nested_fix_body renv decr recArgsDecrArg body =
1035
1037
if Int. equal decr 0 then
You can’t perform that action at this time.
0 commit comments