[Proposal]: Nested Generics #4023
-
Nested Generics
SummaryType figured out from the nested generics without directly specifying. MotivationNo need to specify type that can be figured out from nested generics. I believe that example helps me clarify the idea. For instance MyHandler can implement generic interface
Detailed designDetailed code example:
DrawbacksAlternativesCurrently I need to explicitly specify all types even if some would be possible to figure out:
Unresolved questionsDesign meetings |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think this is a duplicate of #339 |
Beta Was this translation helpful? Give feedback.
I think this is a duplicate of #339