-
Notifications
You must be signed in to change notification settings - Fork 305
Type parameters in new Mapping<TypeA, TypeB>
/ new Listing<Type>
are not checked
#405
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
Comments
A pragmatic solution would be to allow |
That's less simple than you might think. The generic informs the default / IDE type checking. It's a common pattern to define |
Dealing with generics is never simple. Regarding your concrete arguments, |
This does not throw, but should:
In the below, both types should be checked:
The check should not follow when amended.
This is fine:
This should probably be fine too:
The text was updated successfully, but these errors were encountered: