chore: add an assertion about mkValueTypeClosure (#10954) This is a guard against #10705; if a kernel error is raised when the return value of this function is eventually checked, it is often silenced downstream, making it hard to spot the failure. If we panic here via `assert!`, then the diagnostic cannot be missed.
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.