dotnet / csharplang

The official repo for the design of the C# programming language
10.95k stars 999 forks source link

Take "non-enumerable collection types" out of C# 12 #8055

Closed jcouv closed 2 weeks ago

jcouv commented 1 month ago

I'd incorrectly merged the whole change into C# 12: the change from iteration-type to element-type is fine, but the part about inferring the element-type from the Create method won't be handled as a C# 12 bugfix so should be taken out. It'll be re-introduced into a later speclet. FYI @cston @AlekseyTs @RikkiGibson

jcouv commented 2 weeks ago

@cston Can I let you revert this change into a new speclet for C# 13 collection-related changes?