Proposal: Method type-parameter-list inference #6114
Labels
Area-Language Design
Resolution-Won't Fix
A real bug, but Triage feels that the issue is not impactful enough to spend time on.
Considering #1042, #1470, #2114, #2319, #4423, #5168, #5429 and others, there is a strong demand for a more powerful type inference in C#. Although, this one is missing:
Compiler would infer types that are not in the scope as type parameters in order of args first and then the return type.
This also can be extended to use in delegates and record type declarations.
The text was updated successfully, but these errors were encountered: