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

unspecialized generic type allowed as a type argument #3305

Closed
apinski-cavium opened this issue May 9, 2022 · 0 comments · Fixed by #3714
Closed

unspecialized generic type allowed as a type argument #3305

apinski-cavium opened this issue May 9, 2022 · 0 comments · Fixed by #3714
Assignees
Labels
bug This behavior is unintended and should be fixed. fixed This topic is considered to be fixed.

Comments

@apinski-cavium
Copy link

Take:

struct s<t>
{
 t field;
}

struct s1<t>
{
  t field;
}

void f()
{
 s<s1> v;
}

This should be invalid as the type argument for s1 is not supplied.

@mihaibudiu mihaibudiu added the bug This behavior is unintended and should be fixed. label May 11, 2022
@mihaibudiu mihaibudiu self-assigned this May 11, 2022
@mihaibudiu mihaibudiu added the fixed This topic is considered to be fixed. label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This behavior is unintended and should be fixed. fixed This topic is considered to be fixed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants