Reject `LatencyOffset` in `when` statements
Open
Nobody has claimed this yet.
enhancement
lint
- Dominant language
- Rust
- Stars
- 126
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
In my experience, whenever a LatencyOffset is used in a when, it is always an error. Reject it to spare others this pain.
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
No files or tests are named. Start by locating the compiler handling for LatencyOffset expressions and when statements, then run the relevant existing compiler tests. Done means a when statement containing LatencyOffset is rejected with an appropriate diagnostic, while other when statements continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100