| File lib/ocaml/compiler-lib/typedecl.cmi_pretty | GODI Package godi-ocaml |
| typedecl.cmi_pretty | Sources |
val transl_type_decl : Env.t -> (string * Parsetree.type_declaration) list -> (Ident.t * Types.type_declaration) list * Env.t val transl_exception : Env.t -> Parsetree.exception_declaration -> Types.exception_declaration val transl_exn_rebind : Env.t -> Location.t -> Longident.t -> Path.t * Types.exception_declaration val transl_value_decl : Env.t -> Parsetree.value_description -> Types.value_description val transl_with_constraint : Env.t -> Ident.t -> Path.t option -> Parsetree.type_declaration -> Types.type_declaration val abstract_type_decl : int -> Types.type_declaration val approx_type_decl : Env.t -> (string * Parsetree.type_declaration) list -> (Ident.t * Types.type_declaration) list val check_recmod_typedecl : Env.t -> Location.t -> Ident.t list -> Path.t -> Types.type_declaration -> unit val compute_variance_decls : Env.t -> (Ident.t * Types.type_declaration * Types.type_declaration * Types.class_declaration * Types.cltype_declaration * ((bool * bool) list * Location.t)) list -> (Types.type_declaration * Types.type_declaration * Types.class_declaration * Types.cltype_declaration) list type error = Typedecl.error = Repeated_parameter | Duplicate_constructor of string | Too_many_constructors | Duplicate_label of string | Recursive_abbrev of string | Definition_mismatch of Types.type_expr | Constraint_failed of Types.type_expr * Types.type_expr | Unconsistent_constraint of (Types.type_expr * Types.type_expr) list | Type_clash of (Types.type_expr * Types.type_expr) list | Parameters_differ of Path.t * Types.type_expr * Types.type_expr | Null_arity_external | Missing_native_external | Unbound_type_var of Types.type_expr * Types.type_declaration | Unbound_exception of Longident.t | Not_an_exception of Longident.t | Bad_variance of int * (bool * bool) * (bool * bool) | Unavailable_type_constructor of Path.t | Bad_fixed_type of string exception Error of Location.t * error val report_error : Format.formatter -> error -> unit