Repository navigation
Commit 4e6d5b8
committed
fix(test): use module-exported names in get_scheduler() composition check
The final assertion named ex::__as_awaitable::__completes_inline, which is not
part of the stdexec module's exported surface: the clang-trunk modules build
rejected the name ("must be declared before it is used") and nvc++ could not
resolve the namespace at all ("name followed by '::' must be a class or
namespace name"), failing 4 CI configurations.
Replace it with assertions on the exported per-tag concept: the composition's
set_value_t completes inline (let_value forwards read_env's inline value
completion), while its set_stopped_t does not (the nested schedule()
completes asynchronously), so a co_await on it must not be treated as
completing inline. Both hold on current main and fail at 482c260.1 parent 74c6e71 commit 4e6d5b8
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
0 commit comments