Skip to content

tests(stdexec): fix and test demangling utility#1873

Merged
ericniebler merged 2 commits intoNVIDIA:mainfrom
romintomasetti:demangle
Feb 22, 2026
Merged

tests(stdexec): fix and test demangling utility#1873
ericniebler merged 2 commits intoNVIDIA:mainfrom
romintomasetti:demangle

Conversation

@romintomasetti
Copy link
Contributor

No description provided.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Feb 20, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.


template <class _Sexpr, class _Receiver>
extern __declfn_t<::STDEXEC::__opstate<__demangle_t<_Sexpr>, _Receiver>>
__demangle_v<::STDEXEC::__opstate<_Sexpr, _Receiver>>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

demangling is only for sender types

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, reverted.

namespace __detail {
template <class _Tag, class _Data, class... _Child>
using __basic_sender_t = __basic_sender<_Tag, _Data, __demangle_t<_Child>...>::type;
using __basic_sender_t = __basic_sender<_Tag, _Data, __demangle_t<_Child>...>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i added ::type recently as a necessary bit of ADL isolation. what problem is it causing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just found it weird that the reported demangled type looks like STDEXEC::__basic_sender<...>::type. But I've reverted the change.

Signed-off-by: romintomasetti <romin.tomasetti@gmail.com>
@romintomasetti
Copy link
Contributor Author

@ericniebler I've addressed your comments, this PR now only adds a test, does not touch anything else.

@ericniebler
Copy link
Collaborator

/ok to test 59f04ae

@ericniebler
Copy link
Collaborator

/ok to test 1a37225

@ericniebler ericniebler merged commit 7c8c3c3 into NVIDIA:main Feb 22, 2026
24 checks passed
@romintomasetti romintomasetti deleted the demangle branch February 23, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants