type issue of let error
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.4k
- Forks
- 270
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 39
Description
Looks like I am getting very weird compilation when trying to use let_error. I cannot specify type of the lambda to be either the actual error type nor std::exception_ptr. When I try to specify one of them, the compiler will complain it is not a well formed sender.
Looks like the problem is if some sender specify a different error type then they are not composable through |. I wonder whether this is intended and whether there are some recommended pattern for doing this?
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 let_error, sender composition through |, lambda error types, and std::exception_ptr, but provides no file, test, or minimal reproducer. Start by reducing the reported type mismatch to a small let_error composition and determine whether differing sender error types are intended to compose; done means an agreed behavior and documented or tested resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100