Commit 708187d
committed
fix(exec): any_sender completion signatures for sequence with 3+ senders
When exec::sequence has 3+ senders, it recursively computes completion
signatures by peeling off the first sender and querying the tail as a
sub-sequence (__seq::__sndr). This tail holds child senders by const&.
The get_completion_signatures discovery machinery passes the sender type
un-decayed (as const any_sender&), but any_sender's constraint
std::derived_from<Self, _interface_> fails because reference types are
never derived_from anything.
Fix by decaying Self before the derived_from check in
_isender::_interface_::get_completion_signatures().
Fixes #21011 parent e92245d commit 708187d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
| 517 | + | |
| 518 | + | |
518 | 519 | | |
519 | 520 | | |
520 | 521 | | |
| |||
0 commit comments