We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
where
After adding where clause, it is now possible for user to write void foo<T>() where int : Bar{} which doesn't make sense.
void foo<T>() where int : Bar{}
We need to add a check to guarantee that the left hand side of the where clause is dependent on at least one generic type parameter.
The text was updated successfully, but these errors were encountered:
csyonghe
Successfully merging a pull request may close this issue.
After adding
where
clause, it is now possible for user to writevoid foo<T>() where int : Bar{}
which doesn't make sense.We need to add a check to guarantee that the left hand side of the where clause is dependent on at least one generic type parameter.
The text was updated successfully, but these errors were encountered: