diff options
Diffstat (limited to 'pretyping/classops.ml')
-rwxr-xr-x | pretyping/classops.ml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pretyping/classops.ml b/pretyping/classops.ml index bc3b1310a..2b452ecbb 100755 --- a/pretyping/classops.ml +++ b/pretyping/classops.ml @@ -21,7 +21,7 @@ open Declare open Term open Termops open Rawterm -open Nametab +open Decl_kinds (* usage qque peu general: utilise aussi dans record *) @@ -100,8 +100,8 @@ let add_new_path x = let init () = class_tab:= []; - add_new_class (CL_FUN, { cl_param = 0; cl_strength = NeverDischarge }); - add_new_class (CL_SORT, { cl_param = 0; cl_strength = NeverDischarge }); + add_new_class (CL_FUN, { cl_param = 0; cl_strength = Global }); + add_new_class (CL_SORT, { cl_param = 0; cl_strength = Global }); coercion_tab:= []; inheritance_graph:= [] @@ -257,7 +257,7 @@ let class_args_of c = snd (decompose_app c) let strength_of_cl = function | CL_CONST kn -> constant_strength (sp_of_global None (ConstRef kn)) | CL_SECVAR sp -> variable_strength sp - | _ -> NeverDischarge + | _ -> Global let string_of_class = function | CL_FUN -> "FUNCLASS" |