dotnet / csharplang

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

Champion "Target-typed `new` expression" (VS 16.8, .NET 5) #100

Open gafter opened 7 years ago

gafter commented 7 years ago

Summary: Allow Point p = new (x, y);

Shipped in preview in 16.7p1.


See also https://github.com/dotnet/roslyn/issues/35

Test plan: https://github.com/dotnet/roslyn/issues/28489

julealgon commented 3 years ago

@CyrusNajmabadi why is this issue still open and with pending tasks? Hasn't this already shipped some time ago?

Apologies if I'm missing something obvious, but this is not making much sense to me.

theunrepentantgeek commented 3 years ago

Issues are left open until the relevant specs and documentation are fully updated.

333fred commented 3 years ago

That's what the Implemented Needs ECMA Spec label is referring to.

GunelYusuf commented 2 years ago

hi