optics-dev / optics-dev/Monocle
[Focus] Improve error standard
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 207
- Avg merge
- 7h 59m
- Merged PRs (30d)
- 5
Description
- Add line numbers for compiler errors in Focus block, so it points to the right spot
- Generator errors resulting in
Nothingshould be intercepted before they are composed, and an appropriate error message reported - PBTs for Focus laws #1071
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
Start by locating the Focus block compiler-error handling and the generator composition that can produce Nothing. Review issue #1071 for the Focus laws, then add the requested line-number and generator error behavior and property-based tests; done means all three checklist items are addressed and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- developer-experience, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100