Do not report expected type when not helpful
Open
Nobody has claimed this yet.
enhancement
P-medium
server
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
At a minimum, we should not report the type of a by block when inside it, i.e. when the displayed goals are more specific and can lead to confusion in combination.
Contributor guide
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 gives no file or test entry point. Start by locating the diagnostic or pretty-printing code that reports expected types for by blocks, then trace how displayed goals are selected. Done means the expected type is omitted when it is not helpful and the displayed goals remain clear.
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
- 25/100