You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
You get a wordier, less helpful message when incorrectly extending a base class. You get a terser, more detailed, message when incorrectly creating an instance of the base class.
Actual behavior:
Both messages should be the new terse, detailed message. I forgot to change this when I added the new message.
The text was updated successfully, but these errors were encountered:
I'm not a great fan of the terse message because you can't tell which type is in question without examining the source code. The longer message is more informative when you're just looking at a list of errors.
I'd prefer something simpler, like Too many type arguments were specified for type 'B<T, U>'. And, in the opposite case Too few type arguments were specified for type 'B<T, U>'. I don't really care about the actual number and possible range, I actually find that to be noise.
Expected behavior:
You get a wordier, less helpful message when incorrectly extending a base class. You get a terser, more detailed, message when incorrectly creating an instance of the base class.
Actual behavior:
Both messages should be the new terse, detailed message. I forgot to change this when I added the new message.
The text was updated successfully, but these errors were encountered: