Skip to main content

Module type_coverage

Module type_coverage 

Source
Expand description

Type coverage and weak-type analysis for calcit analyze.

Modules§

inferred_dynamic
Locals and lambda parameters whose compiled type is still Dynamic (#2650).
legacy_migration
Read-only static inventory of 0.47.0 legacy nil, dynamic-style, and runtime-predicate patterns (#2973).
option_nil_roundtrip
Read-only source evidence for the Option migration, not a checker or fix.

Structs§

FfiAdapterCandidate
FfiBoundaryEvidence
FfiBoundaryOperation
FfiHelperCandidate
FfiTraitCandidate
TypeCoverageRow
UnsafeCoerceEvidence
Static evidence attached only to an explicit unsafe-coerce boundary. It intentionally describes source form, not an inferred host value type: analyze weak-types reads a Snapshot and never executes the program.
WeakTypeOccurrence
WeakTypeRow

Enums§

CoverageLevel
DefKind
WeakTypeIntent
WeakTypeKind

Functions§

analysis_revision
analyze_code_entry
analyze_param_arity
Count required params and detect rest param from a defn/defmacro args form.
analyze_weak_types_entry
collect_ffi_boundary_evidence
collect_type_coverage_rows
collect_weak_type_rows
count_typed_params
extract_fn_schema_hints
format_check_types
format_check_types_json
format_check_types_json_with_rows
format_check_types_with_rows
format_weak_types
format_weak_types_json
format_weak_types_json_with_rows
format_weak_types_with_rows
parse_coverage_levels
parse_weak_type_intents
parse_weak_type_kinds
run_check_types_report
run_weak_types_report
validate_def_vs_schema
Inventory the same definition/schema contract used by preprocessing. Source Cirru owns only the code-kind and parameter-shape decoding here.
with_proven_helper_contracts
Analyze compiler-proven absent contracts without changing source declarations. Failed proofs retain their original coverage; explicit Dynamic is never inferred.