-
Notifications
You must be signed in to change notification settings - Fork 243
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
Unused template parameter silently ignored #181
Comments
|
I will need to investigate how TS does this to estimate. One way would be some sort of off-by-default diagnostic that we render as dimming, I think. We will need the compiler to tell us what is unused somehow. |
Do we want there to be an actual diagnostic for this or only dimming in the IDE? |
My recollection from the design discussion is that we don’t want a diagnostic — just dimming in the IDE. |
@bterlson Is this fixed, or should we move to backlog? |
Diming is good. For reference C# does not throw warning for unused template parameters. |
This is not fixed, can be moved to backlog. |
add one special template parameter case: In this case, the template argument
|
Shall we support other template beside model template: |
No diagnostic is issues for a templated model with a template parameter that is not used.
For example:
compiles with no diagnostic messages.
The text was updated successfully, but these errors were encountered: