leanprover / leanprover/comparator
"uncaught exception: Challenge and solution constant kind don't match" is both unhelpful and untrue
Open
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 203
- Forks
- 36
- Avg merge
- 1h 40m
- Merged PRs (30d)
- 7
Description
I have identical files for challenge and solution:
def placeholder := @Eq.refl
I get
Building Challenge
Build completed successfully (3 jobs).
Exporting #[placeholder] from Challenge
Building Solution
Build completed successfully (3 jobs).
Exporting #[placeholder] from Solution
uncaught exception: Challenge and solution constant kind don't match: 'placeholder'
This error message doesn't actually tell me what is going wrong. But it seems like it should succeed in any case.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files, tests, or entry points. First reproduce the identical Challenge and Solution builds, then locate the code that compares their exported constants. Done means either the example succeeds or the diagnostic accurately explains the mismatch, with a regression test for the reproduced case.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100