-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Named type argument #5053
Labels
Duplicate
An existing issue was already created
Comments
OK I its fine. On Fri, Oct 2, 2015, 02:10 Mohamed Hegazy [email protected] wrote:
|
thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A spin-off idea from #2175. If a class has many type parameters and let say that default type parameter gets landed. And If I have a class with three type parameters like below:
Now, I just want to assign a type to one of the type parameter
S
:The above solution is quite redundant since you need to assign a type to the type parameters
P
andE
too. When in fact, you just want to assign a type to the type parameterS
.I suggest
named type argument
to solve this problem:In the above solution, I don't need to assign any type to the type parameters
P
andE
.The text was updated successfully, but these errors were encountered: