jon.recoil.org

Module Includemod.Error

type ('elt, 'explanation) mdiff = {
  1. got : 'elt;
  2. expected : 'elt;
  3. modes : Includecore.mmodes;
  4. symptom : 'explanation;
}
type ('elt, 'explanation) diff = {
  1. got : 'elt;
  2. expected : 'elt;
  3. symptom : 'explanation;
}
type 'elt core_diff = ('elt, unit) Includemod.Error.diff
type 'elt core_mdiff = ('elt, unit) Includemod.Error.mdiff
type functor_arg_descr =
  1. | Anonymous
  2. | Named of Path.t
  3. | Unit
  4. | Empty_struct
    (*

    For backward compatibility's sake, an empty struct can be implicitly converted to an unit module.

    *)
type class_declaration_symptom =
  1. | Class_type of Ctype.class_match_failure list
  2. | Class_mode of Mode.Value.error
type core_module_type_symptom =
  1. | Not_an_alias
  2. | Not_an_identifier
  3. | Incompatible_aliases
  4. | Abstract_module_type
  5. | Unbound_module_path of Path.t
type module_type_symptom =
  1. | Mt_core of Includemod.Error.core_module_type_symptom
  2. | Signature of Includemod.Error.signature_symptom
  3. | Functor of Includemod.Error.functor_symptom
  4. | Invalid_module_alias of Path.t
  5. | After_alias_expansion of Includemod.Error.module_type_diff
  6. | Mode of Mode.Value.error
and functor_symptom =
  1. | Params of Includemod.Error.functor_params_diff
  2. | Result of Includemod.Error.module_type_diff
and ('arg, 'path) functor_param_symptom =
  1. | Incompatible_params of 'arg * Types.functor_parameter
  2. | Mismatch of Includemod.Error.module_type_diff
and signature_symptom = {
  1. env : Env.t;
  2. missings : Types.signature_item list;
  3. incompatibles : (Ident.t * Includemod.Error.sigitem_symptom) list;
}
and module_type_declaration_symptom =
  1. | Illegal_permutation of Typedtree.module_coercion
  2. | Not_greater_than of Includemod.Error.module_type_diff
  3. | Not_less_than of Includemod.Error.module_type_diff
  4. | Incomparable of {
    1. less_than : Includemod.Error.module_type_diff;
    2. greater_than : Includemod.Error.module_type_diff;
    }
type compilation_unit_comparison =
  1. | Implementation_vs_interface
  2. | Argument_vs_parameter