This PR adds declaration names to leanchecker error messages to make debugging easier when the kernel rejects a declaration. Previously, leanchecker would only show the kernel error without identifying which declaration failed: ``` uncaught exception: (kernel) type checker does not support loose bound variables ``` Now it includes the declaration name: ``` uncaught exception: while replaying declaration 'myDecl': (kernel) type checker does not support loose bound variables ``` Fixes: #11937 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: nomeata <148037+nomeata@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| LeanCheckerTests | ||
| lakefile.toml | ||
| lean-toolchain | ||
| test.sh | ||