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> |
||
|---|---|---|
| .. | ||
| AddFalse.lean | ||
| AddFalse.lean.expected.out | ||
| AddFalseConstructor.lean | ||
| AddFalseConstructor.lean.expected.out | ||
| OpenPrivate.lean | ||
| PrivateConflictA.lean | ||
| PrivateConflictA2.lean | ||
| PrivateConflictB.lean | ||
| PrivateConflictB2.lean | ||
| PrivateConflictC.lean | ||
| PrivateConflictC.lean.fresh.expected.out | ||
| QuotEq.lean | ||
| ReplaceAxiom.lean | ||
| ReplaceAxiom.lean.expected.out | ||