optics-dev / optics-dev/Monocle

[Focus] Improve error standard

Open
#1,122 0 comments 0 reactions 0 assignees View on GitHub

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 Nothing should 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.