Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using template names with aliasing on does not work as expected #5935

Closed
zrlk opened this issue Nov 16, 2023 · 0 comments
Closed

using template names with aliasing on does not work as expected #5935

zrlk opened this issue Nov 16, 2023 · 0 comments
Assignees

Comments

@zrlk
Copy link
Contributor

zrlk commented Nov 16, 2023

The negated groups in the following (to be submitted as template_using_name.cc) should not be negated:

namespace ns {
//- @S defines/binding TemplateS
template <typename T> struct S {};
}
//- !{@S ref TemplateS}  // TODO(zrlk): Targets missing node.
using ns::S;
// This trips an unimplemented check (TN.UsingTemplate) in
// BuildNodeIdForTemplateName
//- @"S<int>" ref TemplateSInt
//- TemplateSInt param.0 TemplateS
//- !{@S ref TemplateS}  // TODO(zrlk): No anchor for S
S<int> s;
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

No branches or pull requests

1 participant