//! Free helpers for "does this statement / block definitely exit?" analysis.
//!
//! Used both by `harn-lint` (publicly) and the type checker's flow narrowing
//! logic (via the same-named methods on `TypeChecker`, which delegate here).
use crate*;
/// Check whether a single statement definitely exits (return/throw/break/continue
/// or an if/else where both branches exit).
/// Check whether a block definitely exits (contains a terminating statement).